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: Problems using crosstool-0.42 with Arm


"Heilpern, Mark" wrote:

> My development host is an x86 running Fedora Core 5; the host compiler's -v output displays: gcc version 4.1.1 20060525 (Red Hat 4.1.1-1).
> ...
> /home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type
> /home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: invalid lvalue in assignment

Compiling such an ancient gcc (2.95) with a very new gcc (4.1.1) is
probably not going to work.  Those archaic gccs were much more
permissive about accepting invalid code, and the current versions won't
let you get away with it.  So, you'll probably need to use an
intermediate version that is somewhere in between.  Fedora has such a
compiler already packaged for you (e.g. compat-gcc-32) so just install
that and set your environment appropriately to use it instead of 4.1.1.

Brian

--
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]