• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mac OS X Snow Leopard and 64-bit applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X Snow Leopard and 64-bit applications


  • Subject: Re: Mac OS X Snow Leopard and 64-bit applications
  • From: Terry Lambert <email@hidden>
  • Date: Mon, 31 Aug 2009 09:54:08 -0700

Maybe people should quit using configure entirely. Just saying...

-- Terry

On Aug 30, 2009, at 3:04 PM, Dmitry Markman <email@hidden> wrote:

that's actually exactly the problem for gcc 4.4.1
because config.guess doesn't guess correctly :-)

it returns i386-apple-darwin10.0.0
and configure fails miserably unless I provide host, build and target
arguments explicitly as x86_64-apple-darwin10.0.0


On Aug 30, 2009, at 5:59 PM, Mo McRoberts wrote:

On Sun, Aug 30, 2009 at 21:26, Brian Bechtel<email@hidden> wrote:

Arch and uname -p both return the processor family type, i386. (as opposed
to ppc or arm.) I think the rationale was that too many scripts depend upon
this behavior.

This actually doesn’t make a huge amount of sense: something like
config.guess will return 'i386-apple-darwin10.0.1', despite the fact
that gcc will be (by default) targeting x86_64; anything which relies
on the knowledge that "i386" is by default entirely 32-bit will
therefore break. In contrast, most other x86_64 systems tend to be set
up such that x86_64 is reported as the “system” architecture (wh ere
the kernel architecture is pretty incidental), and so you have a
triplet of, say, x86_64-pc-linux-gnu.


I’d be curious to know what would break if uname returned the
user-space architecture (as targeted by the system compiler by
default) rather than the kernel architecture.

M.

--
http://nevali.net

Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Mac OS X Snow Leopard and 64-bit applications
      • From: Mo McRoberts <email@hidden>
References: 
 >Mac OS X Snow Leopard and 64-bit applications (From: rohan a <email@hidden>)
 >Re: Mac OS X Snow Leopard and 64-bit applications (From: Dmitry Markman <email@hidden>)
 >Re: Mac OS X Snow Leopard and 64-bit applications (From: Brian Bechtel <email@hidden>)
 >Re: Mac OS X Snow Leopard and 64-bit applications (From: Mo McRoberts <email@hidden>)
 >Re: Mac OS X Snow Leopard and 64-bit applications (From: Dmitry Markman <email@hidden>)

  • Prev by Date: Re: Mac OS X Snow Leopard and 64-bit applications
  • Next by Date: Re: Mac OS X Snow Leopard and 64-bit applications
  • Previous by thread: Re: Mac OS X Snow Leopard and 64-bit applications
  • Next by thread: Re: Mac OS X Snow Leopard and 64-bit applications
  • Index(es):
    • Date
    • Thread