aubio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc compiler options on MAC OSX
- To: aubio@piem.org
- Subject: Re: gcc compiler options on MAC OSX
- From: Paul Brossier <piem@altern.org>
- Date: Thu, 17 Aug 2006 14:00:11 +0200
- Cc: Ed Kelly <morph_2016@yahoo.co.uk>
- In-reply-to: <20060815141153.13558.qmail@web26305.mail.ukl.yahoo.com>
- References: <20060815141153.13558.qmail@web26305.mail.ukl.yahoo.com>
- User-agent: Mutt/1.5.12-2006-07-14
Hi Ed, Thanks for your report. On Tue, Aug 15, 2006 at 03:11:53PM +0100, Ed Kelly wrote: > Hi Paul, > > I'm having some problems building the aubio pd > externals on Mac OSX. I had to set PKG_CONFIG_PATH > environment variables for the sources for libsndfile, > libsamplerate and fftw3 manually, then the > libtoolkludge passes a couple of unrecognized options > to gcc and ld. I think the pkg-config issue as a bug in pkg-config, or maybe a missing compilation flag to it. If package descriptions get installed by default in some location, then pkg-config should look for them in that location by default. There is not much we could do in aubio to solve it anyway. > gcc -shared option is not supported in Apple's gcc > 3.3, and ld -export_dynamic does not work either. the > first is documented here: > http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/Link-Options.html > but > I cannot find documentation on the ld option > -export_dynamic. Yes, the PD plugin lacks the correct command line to create the external on OS X. Reading other external Makefiles, it seems the following command should create aubio.pd_darwin correctly: gcc -bundle -undefined suppress -flat_namespace -o aubio.pd_darwin *.o or: gcc -bundle -bundle_loader <path_to_PD> -flat_namespace -o aubio.pd_darwin *.o See also http://lists.puredata.info/pipermail/pd-dev/2003-05/001238.html I don't have access to a OS X at the moment. Let us know if this works for you! Thanks, Paul -- To unsubscribe, send mail to aubio-unsubscribe@piem.org.
- Follow-Ups:
- Re: gcc compiler options on MAC OSX
- From: Scott Driscoll <Scott.Driscoll@gatech.edu>
- Re: gcc compiler options on MAC OSX
- From: Ed Kelly <morph_2016@yahoo.co.uk>
- Re: gcc compiler options on MAC OSX
- References:
- gcc compiler options on MAC OSX
- From: Ed Kelly <morph_2016@yahoo.co.uk>
- gcc compiler options on MAC OSX
- Prev by Date: trouble with make on OS X
- Next by Date: Re: trouble with make on OS X
- Previous by thread: gcc compiler options on MAC OSX
- Next by thread: Re: gcc compiler options on MAC OSX
- Index(es):