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: Problem using crosstool building gcc-3.3.2-glibc-2.3.2 for powerpc-750


Stephan Zimmer wrote:

/local/stephan/crosstool-0.43/build/powerpc-750-linux-gnu/gcc-3.3.2-glibc-2.3.2/gcc-3.3.2/gcc/read-rtl.c:653:
error:  invalid lvalue in increment

Newer versions of gcc are more strict than older versions, and as a
result you can't always compile old code with new gcc.  If you want to
build gcc 3.3 with gcc 4.1 you need to either first build an
intermediate version like 3.4, or patch 3.3 to remove the deprecated
lvalue casts (the feature which 3.2 and 3.3 used which was later
removed.)  It is arguably a bug that the old versions use lvalue casts,
but they ceased being maintained years ago so it's not like anything can
be done about it now.

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]