Re: [LAD] Test app for LADSPA plugins

From: Paul Davis <paul@email-addr-hidden>
Date: Tue Jul 28 2009 - 20:38:18 EEST

On Tue, Jul 28, 2009 at 1:36 PM, Tim Goetze<tim@email-addr-hidden> wrote:
> [Paul Davis]
>>> I've added these attributes to _init() and _fini() sometime ago but
>>> hopeful users of caps on OSX tell me linking the .so fails:
>>>
>>> $ g++ -nostartfiles -O2 -ffast-math -funroll-loops -Wall -fPIC -DPIC
>>> -shared -o caps.so [list of object files]
>>
>>why are you using -nostartfiles? i know what your intent is, but its
>>unwise, i think.
>
> So will it link on OSX if I remove -nostartfiles?

i'd suggest copying what swh's makefile does, which is something like this:

gcc -flat_namespace -undefined suppress -o .libs/ringmod_1188.so
-bundle .libs/ringmod_1188.o -lm -march=i686 -nostartfiles

clearly, i was talking out of my rear end about -nostartfiles
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Wed Jul 29 00:15:04 2009

This archive was generated by hypermail 2.1.8 : Wed Jul 29 2009 - 00:15:04 EEST