[CMake] problem with mac linker flags
Bill Hoffman
bill.hoffman at kitware.com
Wed Dec 22 18:14:56 EST 2010
On 12/22/2010 6:08 PM, Richard Wackerbarth wrote:
> 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.
>
I was not correct. :)
However, I still say the bug is with mpicc as it is not handling the
flag correctly. The mac gcc does pass this flag to the linker without
the -Wl syntax. Both gcc and the intel compiler will accept the -Wl,
syntax so that is the safer way to go.
-Bill
More information about the CMake
mailing list