Why won't my program compile?
Dave Korn
dave.korn@artimi.com
Thu Nov 3 18:17:00 GMT 2005
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
cheers,
DaveK
--
Can't think of a witty .sigline today....
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list