gcc323 + specific glibc

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

 



Because my systems have moved to a newer glibc and my executable needs
an older glibc, I need to get gcc323 to search a specific path for
headers and libs.  During configuration I am using this:
../configure --enable-languages=c,c++ --disable-multilibs --disable-nls
--sysroot=/opt/RH72-BUILD-PKGS/GLIBC-2.2.4-IMAGE
--prefix=/opt/RH72-BUILD-PKGS/gcc323

This compiles fine, however, "print-search-path" includes /lib and
/usr/lib which is not what I want.

I have tried using the --with-headers= and --with-libs=, however, the
make file complains "*** --with-headers is only supported when cross
compiling".

What am I missing?

TIA,
Chris


[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