This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: more
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: java at gcc dot gnu dot org
- Date: Thu, 07 Nov 2002 02:45:07 +0530
- Subject: Re: more
- References: <863cqe4hhi.fsf@nowhere.com>
Adam Megacz wrote:
Why do you need weak symbols to make .jcr work?
Win32 doesn't have weak symbols -- why does .jcr work on Win32?
Adam, since you target MinGW, you should note that the MinGW/Cygwin
version of crtstuff.c #ifdefs out everything else and defines
everything afresh (for both CRT_BEGIN and CRT_END). Here
I think one must put in the Jv_RegisterClasses( ) mojo for
MinGW.
However, in the "other part" of crtstuff.c, this mojo is
introduced if JCR_SECTION_NAME is defined, which is defined
only if the assembler supports named sections and weak
symbols.
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore,
INDIA. Web: http://ranjitmathew.tripod.com/