Not add leading underscore in function name in DLL
Borneq <[email protected]> Wed, 4 Sep 2013 12:53:44 -0700 (PDT)
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
I try make Java native function by JNI.
I have in Java code:
package net.sf.junace;
public class UnACE {
native void nativeACEList(String ArchiveName, ACEList struct);
}
javah make in net_sf_junace_UnACE.h :
JNIEXPORT void JNICALL Java_net_sf_junace_UnACE_nativeACEList
when compile by Visual C++, it add leading underscore to function name :
_Java... and it is OK, but when compile with GCC it not add.
I try use option "-Wl,--kill-at" but this not helps.
I don't want change *.h file because it is autogenerated.
--
View this message in context: http://gcc.1065356.n5.nabble.com/Not-add-leading-underscore-in-function-name-in-DLL-tp965830.html
Sent from the gcc - java mailing list archive at Nabble.com.