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
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers