Notes |
|
(0024278)
|
Brad King
|
2010-12-20 08:48
(edited on: 2010-12-20 08:49) |
|
CMAKE_OSX_ARCHITECTURES is meant for building universal binaries, typically with multiple architectures listed. The "-arch" flag is documented by Apple's port of GCC. Most importantly the "-arch" flag can be repeated multiple times on the same command line and the compiler target all the specified architectures to build a universal binary.
AFAIK Apple has halted work on GCC and ports of it in favor of their new llvm/clang effort. How does the GNU upstream gcc build universal binaries?
The solution to your original problem is to set
CFLAGS=-m64
CXXFLAGS=-m64
FFLAGS=-m64
in your environment before running CMake. Don't use CMAKE_OSX_ARCHITECTURES unless you want universal binaries and have a toolchain capable of building them.
|
|
|
(0024867)
|
David Cole
|
2011-01-18 11:27
|
|
So, then... based on the report and the note 0011627:0024278 is this an issue at all? Seems like this one should be resolved as "no change required" because this is the expected behavior here.
Any problems with that resolution? |
|
|
(0024870)
|
Brad King
|
2011-01-18 11:39
|
|
|