[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] making a standalone fluidsynth plugin on Mac

From: R.L. Horn
Subject: Re: [fluid-dev] making a standalone fluidsynth plugin on Mac
Date: Sat, 10 Mar 2012 23:43:56 -0600 (CST)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Sat, 10 Mar 2012, Antoine Schmitt wrote:

My problem is that I end up with an Xtra (DLL) that depends on many fink shared libraries, which are not available on the end-user system,


  GNU GLib:  http://ftp.gnome.org/pub/gnome/sources/glib/


  GNU readline: ftp://ftp.cwru.edu/pub/bash/
  or:  ./configure --without-readline


Probably best to not use it at all unless there's a specific need: ./configure --disable-dbus-support


Needed for writing .wav files, etc.: http://www.mega-nerd.com/libsndfile/

Or ./configure --disable-libsndfile-support if you don't require the functionality.


Provided by GNU gcc. A complete gcc install should have static versions of both. You'll have to pass the "-static-libgcc" and "-static-libstdc++" options to the linker to use them.

I don't know if the Darwin linker will let you get away with this or not. Hopefully, someone who knows about macs will chime in. Also, linking these statically may cause problems with exception handling.

If fink doesn't provide static versions, you might have to build GCC yourself. Get gcc-core and gcc-g++ from ftp://ftp.gnu/org/gnu/gcc and follow the build/install instructions. A 4.2 or 4.4 version should be adequate, and have fewer build dependencies than 4.6.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]