tech-pkg archive

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

Re: Support for Mac OS X Snow Leopard

On Sat, Sep 12, 2009 at 11:29:23PM +0200, Hubert Feyrer wrote:
> On Sat, 12 Sep 2009, Matthias Scheler wrote:
> >What is the best way to deal with that in "pkgsrc"? Manually adding
> >"-m32" to "gcc" fixes the problem. But how would one enforce
> >this globally?
> Wrappers?

It seems that the necesarry functionality already exists. By adding the
necessary options to "mk/compiler/" and setting "ABI" to "32"
in "/etc/mk.conf" my system now produces 32 bit binaries.

Should that be the default for Mac OS X? Can we support 64 bit and how?
We would have to override "MACHINE_ARCH" and eventually replace
"uname" by a wrapper.

        Kind regards

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index