This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: invalid option `short-load-bytes' when running make dep


On Friday 04 August 2006 195, Rowan Potgieter wrote:
> Hi guys
> I'm having a problem when running "make dep" when working with the
> snapgear system
> I'm wondering if this is toolchain related?

It's about alignments and un-aligned loads. Although this is toolchain-related,
this is not necessarily the toolchain's fault.

> cc1: error: invalid option `short-load-bytes'
> make[3]: *** [constants.h] Error 1
> make[3]: Leaving directory
> `/stareast/Network_Processor_Project/Stareast_cd/snapgear/snapgear/linux-2.4.x/arch/arm/tools'

Ah. ARM and linux-2.4. Don't, 2.4 is considered unmaintained upstream. Upgrade
to linux-2.6.

> make[2]: *** [dep] Error 2
> Any help would be greatly appreciated! Thank you again

Bah, I'd say: switch to 2.6. Then contact Snapgear.

And by the way: You're using gcc 3.4 or more recent, and that's where this
option went from "deprecated" to "removed". And it's as well, as nowadays all
loads are aligned on ARM.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °---.----------------:  X  AGAINST      |  /e\  There is no  |
| web: ymorin.free.fr | SETI@home 3808 | / \ HTML MAIL    |  """  conspiracy.  |
°---------------------°----------------°------------------°--------------------°

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]