This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with relativ path (../../../..) in search dirs with gcc 3.0
- To: <gcc-help at gcc dot gnu dot org>
- Subject: Problem with relativ path (../../../..) in search dirs with gcc 3.0
- From: "Alexander Holler" <holler at ahsoftware dot de>
- Date: Sat, 30 Jun 2001 12:59:13 +0200
Hello,
I'm having a problem building a cross gcc 3.0.
I'm compiling gcc 3.0 with a prefix /test/cdk. This builds me a dir /test/cdk/lib. Because this is a cross compiler and I'm want to have in the libs and in dir exported with nfs (for the cross target). So I'm moving /test/cdk/lib to /test/nfsroot/lib and creating a smylink from /test/cdk/lib to /test/nfsroot/lib.
With 2.95.3 and below this works fine, but with 3.0 this fails. gcc 3.0 now searches in /test/cdk/lib/ (...) ../../../../ (...) for programs and libs.
Is there any configuration option or something for the specs file to get rid of the relativ path or to add another search-path for lib and programms?
I've tested various options and tried the result with platform-gcc -print-prog-name=as, but I've got allways 'as' not 'platform-as' as result when /test/cdk/lib is a symlink. (platform-as could be found in /test/cdk/bin wich is included in PATH)
Thanks in advance,
Alexander Holler