[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for config.guess for "cross-compiling" x86_64 -> powerpc on Ma
From: |
Ben Elliston |
Subject: |
Re: Patch for config.guess for "cross-compiling" x86_64 -> powerpc on Mac OS X <= 10.6 |
Date: |
Sat, 27 May 2017 21:16:04 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Apr 24, 2017 at 12:26:19PM +0200, Mojca Miklavec wrote:
> In this particular case the compiler has already been consulted once with
>
> if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
> (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
> grep IS_64BIT_ARCH >/dev/null
>
> to determine that this is not x86_64. Is it a problem to ask it once
> more? (And why?)
Alright, I give in.
> But in case you *really* want to avoid ever using CC_FOR_BUILD: why
> is it even called for Darwin?
CC_FOR_BUILD was introduced 15 years ago. There are 11 instances of
it that I've been trying to get rid of ever since. Have a look at the
lines after the line matching ^set_cc. It's pure horror.
Cheers, Ben
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Patch for config.guess for "cross-compiling" x86_64 -> powerpc on Mac OS X <= 10.6,
Ben Elliston <=