Re: libjava and raw_cxx

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

> Andreas Schwab wrote:
>> Andrew Haley <[email protected]> writes:
>> 
>>> Andreas Schwab wrote:
>>>> Why is the libjava directory configured with raw_cxx?
>>>>
>>>> Makefile.def:151:target_modules = { module= libjava; raw_cxx=true; };
>>>>
>>>> The problem with this is that it keeps the libtool test for dynamic
>>>> linker characteristics from working properly, due to the undefined
>>>> reference to __gxx_personality_v0 which is defined in libstdc++.
>>> We don't want libstdc++ linked in libgcj.
>>>
>>> If the libtool test wants libstdc++, then it's up to the libtool test
>>> to include libstdc++.  Nobody else wants it.
>> 
>> It's not libtool that wants it, but gcc, by generating the reference to
>> __gxx_personality_v0.
>
> Well, yes.  I don't quite see your point.

It's a generic link test, independent of the language that the compiler
accepts.  It just assumes that the compiler works.

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.