Not add leading underscore in function name in DLL
Borneq
borucki.andrzej@gmail.com
Wed Sep 4 19:53:00 GMT 2013
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.
More information about the Java
mailing list