How to generate 64bit and debuglibcups.2.dylib?

keens312 keens312 at hotmail.com
Fri Sep 26 19:48:31 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
>
Hi Michael,

It works for CUPS 1.4svn, but not work for older versions such as CUPS-1.1.23 or Darwin CUPS 62.3 and CUPS86.

For older CUPS source, i can only compile for one arch. any suggestion?

Thanks
Keene




More information about the cups-devel mailing list