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


Hi Brian,

thanks for your answer. Can I safely ignore the remaining errors (unknown command line option)? In the output of my successfull build of
gcc-4.1.0-glibc-2.3.6 I also found two times this error message, but finally the tool chain succeeded.

Best,
  Stephan


> -----Ursprüngliche Nachricht-----
> Von: crossgcc@sourceware.org
> Gesendet: 14.04.08 15:22:17
> An: Stephan Zimmer <st.zimmer@web.de>
> CC: crossgcc@sourceware.org
> Betreff: 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
> 


_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


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