This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Unrecognized option '-Wl,-rpath' for jv-convert
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: java at gcc dot gnu dot org, gcc at gcc dot gnu dot org, Loren James Rittle <rittle at labs dot mot dot com>
- Date: Thu, 6 Jan 2011 20:22:28 +0100
- Subject: Re: Unrecognized option '-Wl,-rpath' for jv-convert
- References: <alpine.LSU.1.99.1001101023090.16540@acrux.dbai.tuwien.ac.at>
* Gerald Pfeifer wrote on Thu, Jan 06, 2011 at 08:07:26PM CET:
> I am trying to debug this, alas not very successfully so far and am
> looking for a pointer or two.
>
> This happens with head as well; binutils (/usr/local/bin/ld) is 2.20.1.
>
>
> Note 1: This can be avoid configuring with --disable-rpath. GCC
> understands --disable-rpath, yet the string "rpath" does not occur
> in _any_ *.texi file. Could someone donate a bit of documentation?
> I'll be happy to include that in our install documentation.
>
> Note 2: I did not set -rpath to begin with, this is something libjava
> does, and I am wondering whether this is correct to begin with?
Could be libtool issue or lib-link.m4 one (or gcj one). Can you send
./libtool --tag=GCJ --config
output?
Does passing '-Wl,-rpath -Wl,/foo' to gcj work for a small example
program for you?
Thanks,
Ralf