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

support for GCC4.0's fvisibility option in JNIEXPORT macro


As suggested by Tom Tromey, hereby I submit the following patch to gcj
See:
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30999

Changelog entry:

2007-??-?? Jan Nijtmans <nijtmans@users.sourceforge.net>

	* jni_md.h: Add the possibility to compile jni code with.
	-fvisibility=hidden. This causes all symbols to be hidden
	except the JNI functions which need to be exported.


The patch which implements this is here: <http://gcc.gnu.org/bugzilla/attachment.cgi?id=13126&action=view> When using GCC < 4.0 or when using any other compiler, this patch does no harm.

Regards,
     Jan Nijtmans


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