request for configure clarifications on darwin10

Jack Howarth howarth at bromo.med.uc.edu
Tue Sep 15 18:36:35 PDT 2009


On Wed, Sep 16, 2009 at 02:44:48AM +0200, Rainer Müller wrote:
> On 2009-09-16 02:10 , Jack Howarth wrote:
> > On Tue, Sep 15, 2009 at 07:20:20PM -0400, Jack Howarth wrote:
> >> +               else
> >> +                 if sysctl -a | grep -c hw.cpu64bit_capable>/dev/null 2>&1 ; then
> >> +                   UNAME_PROCESSOR=x86_64
> > 
> > Please execuse the error in the previously posted patch...I grabbed an older copy. The
> > correct line there is...
> > 
> >                   if test `sysctl -n hw.cpu64bit_capable | grep -c 1` = 1 ; then
> 
> Note that this would be wrong on Leopard (Darwin 9) or earlier as the
> CPU might be 64-bit capable, but the default arch is i386.
> 
> Rainer

Rainer,
    Well taken. It really wasn't my idea to add that test. Ben wants to
decouple from having a c compiler. I'll mention this issue. Still I
think SL it will be a vast improvement if config.guess properly
reflects the actual code generation and execution of the compiler.
              Jack


More information about the macports-dev mailing list