Opened 15 years ago
Closed 13 years ago
#1560 closed defect (fixed)
os x 10.6 snow leopard configure target architecture
Reported by: | Owned by: | ||
---|---|---|---|
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)
Change History (3)
by , 15 years ago
Attachment: | mplayer.patch added |
---|
comment:1 by , 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 , 13 years ago
rep_platform: | Other → PC (x86_64) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Hopefully fixed in revision 33887.
patch for configure script