On 12/22/2010 04:21 PM, Cochran, Bill wrote:
> So, I guess the problem is cmake is incorrectly guessing my compiler?  I'm
> not using intel, I'm using gnu.

Both Darwin-GNU and Darwin-icc need the fix.

IIRC, Apple's port of GCC documented the -headerpad_max_install_names
flag as the way pad install names.  The compiler front-end happened
to implement the flag just by passing it through to the linker.  Many
of today's front-ends do not recognize this flag, so now we need to
use -Wl, to get it through.

Fixed upstream:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e498527f
  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eda7841f

Will be in 2.8.4.

-Brad
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to