[unixODBC-support] Mac OSX and Universal Binaries

Nick Gorham nick.gorham at easysoft.com
Tue Jun 12 13:02:47 BST 2007

Joseph Remes wrote:

>We have a product that runs on a variety of Unix systems including Mac OSX.
>We link libodbc.a into our product so that we can talk to ODBC sources
>on Unix boxes.
>With OSX 10.4 the Apple folks introduced a Universal Binary executable
>format that combines PowerPC and Intel386 code in the same file. We are
>porting our product to this. But I am having trouble figuring out how to
>link in unixODBC.
>I have tried to run the install procedure with the appropriate GCC
>command line options but the compiler reports that they are incompatible
>with several of the options that you use. The actual error message is
>    gcc: -E, -S, -save-temps and -M options are not allowed with
>multiple -arch flags
>Is there any way to produce the odbc library as a universal binary?
>unixODBC-support mailing list
>unixODBC-support at easysoft.com

Not sure, normally I expected folk to use the libodbc.so that I thought 
came with the OS.

I would guess it might be a libtool issue.

Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org

More information about the unixODBC-support mailing list