[cups.development] How to generate 64bit and debug libcups.2.dylib?

Michael R Sweet msweet at apple.com
Tue Sep 16 09:02:38 PDT 2008


keens312 wrote:
> Hi Michael,
> 
> With CUPS 1.4svn, I would like to compile a version that support 64bit lib and containing debug symbol.
> 
> ./configure --enable-64bit --enable-debug
> make
> 
> file cups/libcups.2.dylib
> shows that Mach-O dynamically linked shared library i386
> 
> What's wrong with my setting? I would like to see it support 64bit arch.

--enable-64bit is for platforms that need separate binaries for 32-bit
and 64-bit.

Mac OS X is different since it uses the "Mach-O" object file format
which supports multiple architectures per file.  Use:

     ./configure --enable-debug --with-archflags="-arch i386 -arch ppc 
-arch x86_64"

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list