This is the mail archive of the crossgcc@sources.redhat.com 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: How to enable "short-load-bytes" feature of the arm-linux-gcc 3.4


----- Original Message ----- 
From: "Dan Kegel" <dank@kegel.com>
To: "Pwu" <pwu@jadechip.com>
Cc: <crossgcc@sources.redhat.com>
Sent: Monday, May 17, 2004 8:46 AM
Subject: Re: How to enable "short-load-bytes" feature of the arm-linux-gcc 3.4


> Pwu wrote:
> > I am using crosstool 0.27 to make a arm-linux-gcc toolchain whose version is 3.4.
> > So I use it to compile my 2.4.19 Linux Kernel, it is said that 
> > 
> > cc1: error: invalid option `short-load-bytes'
> > make: *** [init/main.o] Error 1
> > 
> > How to enable "short-load-bytes" feature to the arm-linux-gcc?
> 
> Which version of gcc had you been using that option with before?
> I think that option was renamed:
> http://gcc.gnu.org/ml/gcc-patches/1999-11n/msg00649.html
> Can you switch to the new name?
> - Dan

Oh, The original arm-linux-gcc's version is 2.95.3 which I get from the arm-linux.org.

Thank you for your information. So should I change the kernel compile option from "-mshort-load-bytes" to "-malignment-traps"?

Thanks a lot.
Best Regards

Bryan Wu 



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