[gecode-users] Compiling in Mac OS X: .dmg Vs makefile
Guido Tack
tack at ps.uni-sb.de
Mon Oct 20 14:25:34 CEST 2008
Mauricio Toro wrote:
> I am going to check the information about the Mac frameworks.
> However, it seams better to link Gecode statically to my software.
> How can I do this?
Configure gecode with --enable-static --disable-shared, and then link
as usual. I think it currently doesn't work to give both --enable-
shared and --enable-static at the same time. You should make sure
that your program actually links the static libs (install them
somewhere different from the shared libs, or use the -static switch
when linking your program).
Cheers,
Guido
More information about the gecode-users
mailing list