Hi Peter, that didn't work. On Sat, Jan 15, 2011 at 11:33 AM, Peter Bex <peter....@xs4all.nl> wrote: > On Sat, Jan 15, 2011 at 05:27:59PM +0100, Peter Bex wrote: >> I don't know why you chose to use -dynamiclib (or what it actually *does*), >> but changing -dynamiclib to -shared worked for me: > > Ah, dynamiclib is an OS X-specific thing. I didn't initially > see you were on OS X, sorry about that. Perhaps the order in which > the commandline args are posted is important. We've seen this > before, on Linux or OpenBSD I believe; try doing it like I did below, > adding the -lchicken *before* your object files: > >> gcc -fPIC -g -c -I/usr/pkg/include cython_chicken.c >> gcc -lchicken -shared -lm -o libcython_chicken.so cython_chicken.o >> -L/usr/pkg/lib > > Cheers, > Peter > -- > http://sjamaan.ath.cx > -- > "The process of preparing programs for a digital computer > is especially attractive, not only because it can be economically > and scientifically rewarding, but also because it can be an aesthetic > experience much like composing poetry or music." > -- Donald Knuth >
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users