Re: gcc323 + specific glibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux