Brad King wrote:

> 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.
> 

I can add a try_compile for -fPIE on APPLE (though I wonder if it would 
work), but still, I expect to see something like that in the OUTPUT variable 
from check_cxx_source_compiles...

Thanks,

Steve.



--

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

Reply via email to