Also, I think I need to build for i386 but when I run configure like this

./configure CC="gcc -arch i386" CXX="g++ -arch i386"

The next step 'make' fails with bunch of ld errors and warning. How can I make 
the 'make' happy with the i386 configurations?

cheers,

--dheeraj

--- On Mon, 11/1/10, Dheeraj Goswami <[email protected]> wrote:

From: Dheeraj Goswami <[email protected]>
Subject: Link issue on Mac OSX
To: [email protected]
Date: Monday, November 1, 2010, 3:57 PM

I downloaded and build 0.5.0 for Mac OSX 10.6 and it created the 
libthrift.dylib and using file on this file gives the following

libthrift.dylib: Mach-O 64-bit dynamically linked shared library x86_64

When I try to like with our other libraries it gives the error


ld: warning: in 
/Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/libthrift.dylib, file was 
built for unsupported file format which is not the architecture being 
linked (i386)



In XCode I use ${NATIVE_ARCH} as architecture type. 



This all was fine until I upgrade to this one.

cheers,

--dheeraj

Reply via email to