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]

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


Here is the same patch as attachment.

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.

I hope the form is now as required by this list.

For a full explication, see:
   <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30999>

Regards,
       Jan Nijtmans

2007/3/27, Matthias Klose <doko@ubuntu.com>:
I think, Tom did want you to include the patch into this email.

Matthias

Jan Nijtmans schrieb:
> 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


Attachment: jni_md.h.diff.txt
Description: Text document


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