Toby Peterson toby at
Wed Sep 16 09:12:28 PDT 2009

On Wed, Sep 16, 2009 at 09:10, Jack Howarth <howarth at> wrote:
> On Wed, Sep 16, 2009 at 08:38:50AM -0700, Toby Peterson wrote:
>> If you prefer how fink does things, go use fink.
> I am just trying to involve the folks here in the
> eventual changes implemented upstream so they everyone
> has some feedback into this. It can only be helpful
> if the autoconf folks fully understand all of the
> details of darwin10's behavior as they consider what
> changes to make. I would note that Bob Friesenhahn
> mentioned that Solaris supports 32-bit and 64-bit
> kernels. The config.guess section for that does
> almost exactly what I am proposing for handling
> darwin10...
>    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
>        eval $set_cc_for_build
>        SUN_ARCH="i386"
>        # If there is a compiler, see if it is configured for 64-bit objects.
>        # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
>        # This test works for both compilers.
>        if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
>            if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
>                (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
>                grep IS_64BIT_ARCH >/dev/null
>            then
>                SUN_ARCH="x86_64"
>            fi
>        fi
>        echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
>        exit ;;
> So it's not likely am coming out of left field with this
> change to config.guess. The config.guess maintainer thought
> it a completely rational approach.

As I've said multiple times, it really doesn't matter what
config.guess says, because we'll have to work around it... same thing
we've been doing for years. If you can convince the autoconf folks to
change config.guess, that's great - but it doesn't really affect

- Toby

More information about the macports-dev mailing list