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: Why won't my program compile?


On Thu, 3 Nov 2005, Dave Korn wrote:

> Dan Kegel wrote:
> > mdmiller@visi.com wrote:
> >> Sorry, I just couldn't resist the baiting.  Crosstool 0.38 for a SH4
> >> target. The crosstool targets are gcc 4.1-20050716 with glibc 2.3.2 and
> >> 2.6.11.2 headers.  This is the stock eval for the bottom line of 0.38's
> >> SH4 .dat file. Running on SUSE 10.0 with some kind of hideous green
> >> lizard.  I got an error that the gcc version was old, which I could
> >> understand because I was running
> >> 4.0.2.  I upgraded to 4.1.0 20051029, which is the absolute latest.
> >
> > You shouldn't have had to update; 4.0.2 is plenty new.
> > Please post the last 15 or so lines of the log
> > ending with the error message; that ought to jog
> > our collective memory about this.
> > - Dan
>
>
>   We had this just a little while ago; there was something that was testing
> the gcc major version number, and it only considered 2 and 3 as possibilities
> and regarded all unknown versions as too old.  Adding a "4)" case to a switch
> in a shell script fixed it.  It should be possible to find in the archives
> pretty easily: go to google, cut and paste the error message (which you really
> should have quoted in your initial mail if you really want help), and add
> "inurl:ml/crossgcc".
>
>   Ah, gottit:
>
> http://sources.redhat.com/ml/crossgcc/2005-09/msg00186.html

isn't that a mips-specific patch that you're referring to?
crosstool-0.38 for SH4 *will* fail without an extra patch, but it
certainly won't fail with *that* error message.

rday

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