gcc323 + specific glibc
Dara Hazeghi
dhazeghi@yahoo.com
Fri Nov 14 08:13:00 GMT 2003
Hello,
one slightly hackish approach is to lie to gcc, and
make it think that it is cross-compiling. 3.2.3
doesn't support sysroot, so it's not surprising that
should fail.
Probably if you do --target=i386-redhat-linux (or some
such), configure will be stupid enough to think it's
cross-compiling, and you can use --with-headers= and
--with-libs= as you tried previously (this worked for
me a while back, when targeting libc1). Note that
you'll need to edit the libc.so from the old libc
image (it's a text file, but the paths in it will
probably be wrong) to get a fully functional 'cross'
compiler.
Cheers,
Dara
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
More information about the Gcc-help
mailing list