[CMake] Cross-compiling for z/OS -- linker question
Alexander Neundorf
a.neundorf-work at gmx.net
Tue Aug 5 17:31:46 EDT 2008
On Tuesday 05 August 2008, Phil Smith wrote:
> Re the link command, thanks:
> SET(CMAKE_C_LINK_EXECUTABLE "c:/progra~1/dignus/linkit.bat -o
> ./<TARGET> <OBJECTS>") seems to be working much better!
>
> As for the ForceCompiler stuff, I think I understand what you're getting
> at, but am reluctant to be quite that pure since it's likely to require a
> bunch more tinkering.
Not much :-)
> For historical reasons, Dignus is really, really
> unlikely to add any more compilers, and are equally unlikely to support any
> other hardware platforms. Also for historical reasons, the various IBM
> OSes for z are interoperable, so the OS doesn't seem relevant.
Yes, so we only need a ZOS-Dignus-C.cmake and ZOS-Dignus-CXX.cmake (and a
ZOS.cmake, which won't contain a lot).
> I hate
> everything I've just written -- I believe strongly in the purity of such
> things, having been burned far too often by folks NOT bothering -- but find
> myself unwilling to make the investment this time.
If you want it to go into cmake cvs, it is necessary.
Alex
More information about the CMake
mailing list