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] |
On Mon, 2004-05-17 at 03:07, Pwu wrote: > ----- 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"? Or just remove the flag all-together. All arm configurations in gcc-3.4 default to -malignement-traps. The flag is going away. In 3.5 -malignment-traps will be the only choice (and the flag has been removed entirely). This has been done because ARMv6 processors generally don't support code compiled with -mno-alignment-traps. R. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |