This is the mail archive of the gcc@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]
Other format: [Raw text]

--rpath -vs- cc1plus


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


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