[sigc] Libsig 32 bits on Snow Leopard



Hello,

   i've recently switched to snow leopard and i want to compile a leopard project that used libsig and a 32bits framework.
   so, i want to compile libsig in 32 bits
   Here is the entire command line i tried for it :
./configure CFLAGS='-arch i386' LDFLAGS='-arch i386' CC='gcc-4.0.1 -m32' CXX='g++-4.0.1 -m32' CHOST='i386-apple-darwin10.0.0' --target=i386-apple-darwin10.0.0 --build=i386-apple-darwin10.0.0 --host=i386-apple-darwin10.0.0
   But i think it doesn't work because there are problems during the link (undefined references) and i have found these lines in the configure log
   Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --

    So it apparently compiles in 64 bits...
    Any ideas?
    Thank u !

Emilien




Nouveau! Découvrez le Windows phone Samsung Omnia II disponible chez SFR. Cliquez ici


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]