Re: Configure Freetds on 64bit Xserve Failed.

Daniel Fazekas <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Apr 5, 2008, at 01:11, Tony Wang wrote:

> I did it like this:
> $ cd freetds-0.64
> $ ACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch ppc -arch ppc64 -arch
> i386 -arch x86_64 -g -Os -no-cpp-precomp" CCFLAGS="-arch ppc -arch
> ppc64 -arch i386 -arch x86_64 -g -O -pipe" CXXFLAGS="-arch ppc -arch
> ppc64 -arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch ppc -arch
> ppc64 -arch i386 -arch x86_64 -bind_at_load" ./configure --enable- 
> shared
[...]
> gcc-4.0: -E, -S, -save-temps and -M options are not allowed with
> multiple -arch flags

That's a scary thing to do, trying to build an Autoconf-based project  
for multiple CPU architectures simultaneously, trying to create a  
Universal binary in one go.

You should only keep -arch x86_64 and remove all the others.
Then, if you really need a Universal binary, build for the other  
architectures separately too, and use the lipo tool to bundle them  
together into Universal binaries.

But on an Intel-based Xserve running Leopard, x86_64 should be all you  
need.

--
fds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.