[MINC-users] compiling dyld, 32, 64?
Alexandre CARMEL-VEILLEUX
acveilleux at mrs.mni.mcgill.ca
Fri Mar 6 14:22:34 EST 2009
On Fri, Mar 06, 2009 at 01:46:00PM -0500, Dale Einarson wrote:
>
> Sadly I have had to do such ugly hacks as,
> HDF
> perl -pi -e 's/-O2 -g x86_64 -arch/-g -O2 -arch x86_64/g' Makefile */
> Makefile */*/Makefile */*/*/Makefile
>
> LIBTOOL
> perl -pi -e 's/-fno-builtin/-arch x86_64 -fno-builtin/g' libtool
> perl -pi -e 's/-dynamiclib/-dynamiclib -arch x86_64/g' libtool
The following configure line is what I used combined with the libtool hack
I mentionned:
./configure CFLAGS="-O2 -arch x86_64 -m64" CXXFLAGS="-O2 -arch x86_64 -m64" --with-szlib=yes --with-zlib=yes --prefix=/usr/local
Alex
More information about the MINC-users
mailing list