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]

boehm-gc/win32_threads.c


The problem comes from here:

gcc/boehm-gc/win32_threads.c:535:BOOL WINAPI DllMain(HINSTANCE inst, ULONG
reason, LPVOID reserved)

Between 3.2. and 3.3. the symbol DllMain has been added or enabled in
win32_threads.c. This precludes any other library from including DllMain.
Since ltdl apparently uses DllMain to initialize the jni library, I cannot
remove it from the jni library embedded in the executable.

Is there a reason why DllMain needs to be present in win32_threads.c ?

Another consequence. If I understand this right, only one jni library can be
statically linked at a time in the executable?


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