crossgcc for RH7.3 on RH9 (sad but true!)

John Utz Johnut01@noa.nintendo.com
Sat Dec 13 03:16:00 GMT 2003


Hi Dan;

>>>> Dan Kegel <dank@kegel.com> 12/12/03 06:48PM >>>
>John Utz wrote:
>> as near as i can tell, compat-7.3 gcc (gcc296) insists on linking
>> against RH9's libc.
>
>Probably true.

>> but it really seems to me that i have to build cross-gcc for
>> gcc-3.3/glibc-2.2.5 if i dont want to be stuck running redhat-7 for
the
>> rest of this project.
>
>Probably true.
>
>> one immediate concern is that the arch that i need to build for is
>> i486, not i686, because i have to run on STPC and GEODE, will i need
>>to alter the cross-build to take account of this, or will i still
have
>> access to the -march flag in my nifty new compiler?
>
>I'm pretty sure it'll be there.
>
>Have you tried out http://kegel.com/crosstool yet?  It's pretty handy
>for putting together toolchains.

Dan, your tool is full of Ass Kicking Goodness!(tm)!

I've succeeded in building the toolchain and compiling our app with
it.

However, i choose to build gcc-3.3-glibc-2.2.5 and this left me linking
to libstdc++.so.5, which isnt on RH73 systems, so the app stiff fails
due to a loader error, but it's a *different* loader error, and that
counts as progress in my book :-)

So now i am building  gcc-3.2.3-glibc-2.2.5 and will try to build our
app with that.

If that wont work, then i'll use the gcc-2.95.3-glibc-2.25 target....


- Dan

------
Want more information?  See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/ 
Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sources.redhat.com 



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