This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: RFA, RFT: enable tools using CNI
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Thomas Fitzsimmons <fitzsim at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Sun, 02 Jul 2006 09:36:50 +0530
- Subject: Re: RFA, RFT: enable tools using CNI
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <44A49E0C.3030303@redhat.com> <m3zmfug1o7.fsf@localhost.localdomain> <44A56EA6.6070504@redhat.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Fitzsimmons wrote:
>
> Good point. Attached patch committed.
[...]
> +gappletviewer_LDFLAGS = --main=gnu.classpath.tools.appletviewer.Main \
> + -rpath $(toolexeclibdir) -shared-libgcc $(THREADLDFLAGS)
You should not use -shared-libgcc unconditionally here.
For example, GCC/MinGW is usually built without shared
libraries (simply because the GCC build machinery hasn't
yet been updated to build DLLs for libgcc, libstdc++, libgcj,
etc.).
As an aside, this patch has once again exposed the
problematic "fake multi-threaded EH" for MinGW hack in
win32.cc:
http://gcc.gnu.org/ml/java/2003-04/msg00043.html
This fake definition now causes a multiple definition
error at link time for CRT_MT and __mingwthr_key_dtor()
while creating gappletviewer for a crossed-native MinGW
build.
Looks like it's time to do something about it.
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEp0ZaYb1hx2wRS48RAnJqAJ95oCVl5lRClgruKrKAKmJpZUfIEwCfYbiy
JiZGgRLMUiozxWo535iqu2Y=
=SyV5
-----END PGP SIGNATURE-----