Opened 10 years ago

Closed 8 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: Analyzed by developer:

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@… 10 years ago.
patch for configure script

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by micah.bucy@…

patch for configure script

comment:1 Changed 10 years ago by micah.bucy@…

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 Changed 8 years ago by diego@…

  • rep_platform changed from Other to PC (x86_64)
  • Resolution set to fixed
  • Status changed from new to closed

Hopefully fixed in revision 33887.

Note: See TracTickets for help on using tickets.