Opened 15 years ago

Closed 13 years ago

#1560 closed defect (fixed)

os x 10.6 snow leopard configure target architecture

Reported by: micah.bucy@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I had to specify ./configure --target=x86_64-darwin to get things to work on snow leopard. By default snow leopard's gcc builds 64 bit binaries, but uname -p always returns i386. uname -a is no good to use either. it only reports x86_64 if the boot specifies the 64 bit kernel (32 bit is default).

I will attach a patch to the configure script that uses the system_name to check for Darwin when it reports i386. If it is Darwin, it checks uname -r and if it is 10* it changes host_arch to x86_64.

Attachments (1)

mplayer.patch (643 bytes ) - added by micah.bucy@… 15 years ago.
patch for configure script

Download all attachments as: .zip

Change History (3)

by micah.bucy@…, 15 years ago

Attachment: mplayer.patch added

patch for configure script

comment:1 by micah.bucy@…, 15 years ago

This resolved the issue for me. It shouldn't affect any other system as it limits it to Darwin versions 10.* which should limit it to just OS X 10.6

comment:2 by diego@…, 13 years ago

rep_platform: OtherPC (x86_64)
Resolution: fixed
Status: newclosed

Hopefully fixed in revision 33887.

Note: See TracTickets for help on using tickets.