Re: libjava and raw_cxx

Andreas Schwab <[email protected]>
Newsgroups gmane.comp.gcc.devel,gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Paolo Bonzini <[email protected]> writes:

> Andreas Schwab wrote:
>> Paolo Bonzini <[email protected]> writes:
>> 
>>> If it bothers you (does it cause a PR?),
>> 
>> It causes a program to fail to run during build.
>> 
>> ./gcj-dbtool -n classmap.db || touch classmap.db
>> /usr/local/gcc/gcc-20081202/Build/powerpc64-suse-linux/libjava/.libs/gcj-dbtool: error while loading shared libraries: libgcj.so.10: cannot open shared object file: No such file or directory
>> 
>>> Anyway you know you do not need to build C++ executables (only Java)
>>> in libjava.
>> 
>> See above.
>
> But that's not a C++ program, it's a Java program.

Yes, this is true.  But even though the test that sets
shlibpath_overrides_runpath is run for every compiler, only one result
is then used for all link commands, and that happens to be the result of
the C++ test.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
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.