niversal binary for Mac OS X?

Michael Sweet mike at easysw.com
Mon Feb 27 16:05:57 PST 2006


anonymous wrote:
> I want to build rastertoprinter driver in universal binary for Mac OS X.
> 
> I checked DDK's ./configure file, and found the following session:
> 
> if test "x$uname" = xDarwin; then
>     if test 'uname -m` = x86; then
>         # build universal binaries for OSX on Intel...
>         OPTIM="-arch i386 -arch ppc $OPTIM"
>     fi
> fi
> 
> 
> Running "uname -m" on Intel based Mac OS X returns "i386" not "x86"

Right, the previous check was added on the preproduction Intel systems,
we'll be updating the check in the DDK after we get CUPS 1.2b1 released.

> ...
> /usr/bin/ld: waring suggest use of -bind_at_load, as lazy binding may result 
> in errors or different symbols being used.
> 
> 
> Does it mean CUPS DDK is not generating universal binary? (OPTIM is also 
> part of LDFLAGS in Makedefs)

Use the "file" utility to list the architectures that the binary
supports.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups-devel mailing list