I'm trying to get around the "Some people have crappy NFS
architectures so we're going to make GCC so braindead it
can't even find its own libraries" problem.

Can anyone tell me where the spec files in 4.1.1 are?

From the FAQ:

    "Dynamic linker is unable to find GCC libraries"
    ...
    "However, if you feel you really need such an option
     to be passed automatically to the linker, you may add
     it to the GCC specs file. This file can be found in
     the same directory that contains cc1 (run gcc
     -print-prog-name=cc1 to find it). You may add linker
     flags such as -R or -rpath, depending on platform and
     linker, to the *link or *lib specs."

4.1.1:linus> gcc -print-prog-name=cc1
/afs/rcf/lang/gcc/@sys/4.1.1/bin/../libexec/gcc/sparc-sun-solaris2.9/4.1.1/cc1
4.1.1:linus> cd /afs/rcf/lang/gcc/@sys/4.1.1/bin/../libexec/gcc/sparc-sun-solaris2.9/4.1.1
4.1.1:linus> ls
cc1*            cc1plus*        install-tools/  jvgenmain*
cc1obj*         collect2*       jc1*
4.1.1:linus> ls install-tools/
fixinc.sh*  fixincl*    mkheaders*
4.1.1:linus>

jblaine:linus> cd /afs/rcf/lang/gcc/sun4x_59/4.1.1/
4.1.1:linus> find . -name \*spec\*
./lib/libgcj.spec
./include/c++/4.1.1/ext/codecvt_specializations.h
./include/c++/4.1.1/java/beans/IntrospectionException.h
./include/c++/4.1.1/java/beans/Introspector.h
./include/c++/4.1.1/java/security/spec
./include/c++/4.1.1/javax/crypto/spec
4.1.1:linus>

Reply via email to