Re: Unrecognized option '-Wl,-rpath' for jv-convert

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gcc.java.devel,gmane.comp.gcc.devel
Message-ID <[email protected]>
* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.