Skip site navigation (1) Skip section navigation (2)

Re: [OSX] unixODBC and universal binaries build problem

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Lothar <lothar(dot)behrens(at)lollisoft(dot)de>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [OSX] unixODBC and universal binaries build problem
Date: 2012-06-17 13:07:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
On Sun, Jun 17, 2012 at 1:54 PM, Lothar <lothar(dot)behrens(at)lollisoft(dot)de> wrote:
> Am 17.06.2012 um 11:29 schrieb Dave Page:
>> On Sunday, June 17, 2012, Lothar wrote:
>> Hi,
>> To use PostGreSQL with unixODBC in an application compiled as universal binary I try to build the unixODBC 2.2.12 version of unixODBC in a universal binary
>> for i386 and ppc targeting OSX 10.3 compatibility.
>> While configuring is successful, the build fails with the following message:
>> gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
>> Any ideas to overcome this
>> Hi
>> Try configuring with --disable-dependecy-tracking
>> Regards, Dave
> Then I get this:
> mac:unixODBC-2.2.12 lothar$ CC="gcc -arch i386 -arch ppc  -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" CXX="g++ -arch i386 -arch ppc  -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" ./configure --enable-gui=no --disable-dependecy-tracking
> checking for a BSD-compatible install... /usr/bin/install -c

Sorry - I realised I typoed that on my phone. It's

Dave Page
Twitter: @pgsnake

EnterpriseDB UK:
The Enterprise PostgreSQL Company

In response to

pgsql-odbc by date

Next:From: Maziar NavahanDate: 2012-06-18 09:20:57
Subject: can not configure in centos 6 x64
Previous:From: LotharDate: 2012-06-17 12:54:58
Subject: Re: [OSX] unixODBC and universal binaries build problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group