This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with relativ path (../../../..) in search dirs with gcc 3.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]