[cmake-developers] Adding logic to CMake for -fPIE and -fPIC
Brad King
brad.king at kitware.com
Tue Jun 5 11:48:04 EDT 2012
On 06/05/2012 11:40 AM, Stephen Kelly wrote:
> http://open.cdash.org/testDetails.php?test=148807497&build=2335525
>
> I tried outputting the OUTPUT resulting from the try_compile, but that does
> not seem to actually create the output as expected, even though the
> releveant commit is being tested
> (http://cmake.org/gitweb?p=cmake.git;a=commit;h=84d29a5358e4fa01583e2aef1e8e8097e187045f
> ).
>
> Can someone with access to that box find out what is going on?
CMakeError.log contains:
cc1plus: error: unrecognized option `-fPIE'
It is a very old OS X:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.3.9
BuildVersion: 7W98
$ g++ --version
g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)
and so probably doesn't understand PIE.
-Brad
More information about the cmake-developers
mailing list