This is the mail archive of the java@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: more


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/




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