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]

--with-libiconv-prefix messes up libjava


I configure my build with

configure --disable-nls --with-system-zlib
--with-libiconv-prefix=/usr/local

when it does the libjava stuff, it ends up making a libgcj.spec that is
inappropriate:

*lib: -lgcj -lm /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
-lpthread -lz   %(libgcc) %(liborig)

This ends up breaking collect2 on a final link of the library because it
passes in -Wl,-rpath -Wl,/usr/local/lib instead of just
-rpath /usr/local/lib.

I am going to attempt to rebuild using --disable-rpath to get around
this problem.

Cheers,
Sean

Attachment: signature.asc
Description: This is a digitally signed message part


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