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]

Re: linux audio software using gcj&swt!


On Thu, 2003-10-23 at 07:00, Anthony Green wrote:
> My solution was to hack SWT to _not_ load the native library (just look
> for the System.loadLibrary call), and link the native libs into the
> static executable with the following:
> 
> -Wl,--whole-archive,libswt-gtk-2135.a,libswt-pi-gtk-2135.a,--no-whole-archive

I should have added that you may need to use -Wl,--export-dynamic as
well.

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.


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