This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
--rpath -vs- cc1plus
- From: Tom Tromey <tromey at redhat dot com>
- To: GCC Hackers <gcc at gcc dot gnu dot org>
- Date: 15 Dec 2001 17:39:50 -0700
- Subject: --rpath -vs- cc1plus
- Reply-to: tromey at redhat dot com
I'm using a relatively recent cvs trunk gcc.
Platform is x86 Red Hat Linux 6.2.
I invoked gcc and got this error:
creche. gcc foo.cc -lgcj -lgcjgc -lzgcj
/usr/bin/ld: warning: libgcc_s.so.1, needed by /x1/egcs/install/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../libgcj.so, not found (try using --rpath)
So I used --rpath and got a different error:
creche. gcc foo.cc --rpath /x1/egcs/install/lib -lgcj -lgcjgc -lzgcj
cc1plus: unrecognized option `-frpath'
cc1plus should probably recognize and ignore this.
Or, some spec should take care not to pass -frpath to cc1plus.
Tom