[cmake-developers] [CMake 0014733]: [OSX] Specify 64bit-specific flag with CMAKE_OSX_ARCHITECTURES
Mantis Bug Tracker
mantis at public.kitware.com
Tue Feb 4 09:54:59 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14733
======================================================================
Reported By: valentin
Assigned To:
======================================================================
Project: CMake
Issue ID: 14733
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-02-04 09:54 EST
Last Modified: 2014-02-04 09:54 EST
======================================================================
Summary: [OSX] Specify 64bit-specific flag with
CMAKE_OSX_ARCHITECTURES
Description:
Hi all !
First of all, I apologize for my bad english ;)
I'm trying to use LuaJIT (built as a fat-binaries) on OSX with my application.
The problem is that the doc says I have to add some flags ("-pagezero_size 10000
-image_base 100000000") with a 64bit build to not get a segfault, and on the
other hand, it won't compile with the 32bit one ("ld: section __mach_header
would make the output executable exceed available address range for architecture
i386")
Since I'm configuring the "fat-build" with the
CMAKE_OSX_ARCHITECTURES="i386;x86_64" option, can you consider to add an option
to specify a flag with the x86_64 build only, and not use it with the i386 ?
Thanks you for reading :)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-02-04 09:54 valentin New Issue
======================================================================
More information about the cmake-developers
mailing list