1251
General discussions (Q&As) / Re: Problem with installing 3DNA on Mac OSX-Intel 10.4
« on: July 02, 2012, 04:54:19 pm »
Following my previous response, I asked for help from SBGrid on compiling 3DNA for Mac OS X Intel 10.4. Ben Eisenbraun told me the OS is on longer supported by SBGrid, and suggested two alternatives (see his message below).
I tried to compile a 3DNA universal binary for Mac OS X 10.4 ppc and intel without luck. Compiling a 10.4/Intel compatible binary on the 10.5/Intel machine went through, so I have created a tarball for you to test. Please let us know if it works.
Xiang-Jun
I tried to compile a 3DNA universal binary for Mac OS X 10.4 ppc and intel without luck. Compiling a 10.4/Intel compatible binary on the 10.5/Intel machine went through, so I have created a tarball for you to test. Please let us know if it works.
Xiang-Jun
Quote
Hi Xiang-Jun,
> I recently received a report from a 3DNA user that has "Mac OSX
> version 10.4.11, with a 1.83 GHz Intel Core Duo." Neither of the
> compiled versions of 3DNA with "sbgrid-dev-flex, OS X 10.5,
> x86/x86_64" or "sbgrid-dev-cotterpin, OS X 10.4, PowerPC" works for
> this architecture.
We no longer have a OS X Intel 10.4 machine. I have two ideas for you
though:
- cross-compile a 10.4/Intel binary on the 10.4/PPC machine. In the gcc
manpage:
-arch arch
Compile for the specified target architecture arch. The allowable
values are i386, ppc and ppc64. Multiple options work, and direct
the compiler to produce ``universal'' binaries including object
code for each architecture specified with -arch. This option only
works if assembler and libraries are available for each architec-
ture specified. (APPLE ONLY)
- compile a 10.4/Intel compatible binary on the 10.5/Intel machine using:
export MACOSX_DEPLOYMENT_TARGET=10.4
export LDFLAGS="-mmacosx-version-min=10.4 -Wl,-headerpad_max_install_names"
Those are probably enough. You might need to get into sysroot arguments to
gcc if you are using an OS X framework.
-ben
--
| Ben Eisenbraun
| SBGrid Consortium | http://sbgrid.org |
| Harvard Medical School | http://hms.harvard.edu |

.