[CMake] problem with mac linker flags

Richard Wackerbarth richard at nfsnet.org
Wed Dec 22 18:08:42 EST 2010


I track "next" very closely.
I looks as if Brad added the -Wl, to both Darwin-GNU and to Darwin-icc.

If Bill Hoffman is correct and " The intel compiler does not want and can not have the -Wl, syntax.", then there is a problem with one of Brad's two edits.

However, Bill Cochran should try "next" (or tonight's "nightly").
I do not have his compiler on any of my systems.

Richard

On Dec 22, 2010, at 4:58 PM, David Cole wrote:

> I take that back..... Wait till tomorrow to follow this advice. :-)
> 
> Looks like Brad just pushed one more fix related to this issue to 'next' this afternoon.
> 
> On Wed, Dec 22, 2010 at 5:57 PM, David Cole <david.cole at kitware.com> wrote:
> There were recent bug fixes pushed to CMake 'next' (and I believe now to 'master' as well) to address the "headerpad_max_install_names" portion of this discussion. It should be passed with "-Wl," now so that it passes through to the linker on the Mac.
> 
> This particular error should go away if you use a nightly dev build of CMake.
> 
> Try that and let us know if you get farther with nightly cmake.
> 
> 
> Thanks,
> David



More information about the CMake mailing list