This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA, RFT: enable tools using CNI


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]