[CMake] SS12 and -xcode=pic32

George Neill georgen at neillnet.com
Tue Oct 28 12:33:10 EDT 2008


On Tue, Oct 28, 2008 at 8:40 AM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> George Neill wrote:
>
>>>
>>> To set the record straight for others reading this in the future, please
>>> do
>>> exactly what I suggested (which works) rather than trying something else.
>>>
> Actually, to set the record straight, your approach is not good in this
> case.  It will, as George points out, use the pic flags every where and not
> just with shared objects.   This may or may not be what people want.
>  Basically, George is trying to get around a bug in the Platform file for
> CMake.   George if you could create a bug entry for this I would appreciate
> it.   Also please include the version of the compiler when this new flag
> started being used so the platform file can be made to do the right thing.

To be clear, the -KPIC flag still appears to be a valid flag in SS12
... even though the man page says, for SPARC, it's obsolete and you
shouldn't use it.

http://cmake.org/Bug/view.php?id=7873

Thanks,
George


More information about the CMake mailing list