pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

How to build 64 bit binaries on Darwin?


I'm trying to build packages on an OS X machine (Intel Core2 Duo Processors.)

Everything seems to work fine if I build "normally", but everything also builds 32-bit binaries. So I have a couple questions...

1. How do I get pkgsrc to build 64-bit binaries by default?

   I've tried setting `ABI = 64' in bootstrap and in mk.conf
   I've tried setting `CFLAGS += -arch x86_64' in mk.conf

   Neither of these works. The former doesn't seem to do anything.

2. How can I select a 64-bit build for one package and not another?

Any help would be fantastic. Thanks,


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Home | Main Index | Thread Index | Old Index