Is my problem so vague that nobody even has a suggestion?  If so, are there 
things I can try to answer that might help?

Thanks...

-----Original Message-----
From: Phil Smith
Sent: Tuesday, July 22, 2008 4:03 PM
To: 'cmake@cmake.org'
Subject: cmake newbie questions

Disclaimer: I'm new to cmake, and mostly new to make, for that matter (I come 
from one of those Other Platforms that don't use make).  I'm trying to use a 
different C compiler (the Dignus cross-compiler for z/OS) to compile an 
existing product on Windows XP. I've installed cmake and GNU make, as well as 
the Dignus stuff, and added make and the Dignus stuff to the path.

The Dignus C compiler executable is dcc.exe, in c:\program files\dignus\.
GNU make is make.exe, in c:\program files\GnuWin32\bin.
The Dignus linker is plink.exe, also in c:\program files\dignus\.
My C source is in an svn directory tree; call it c:\Voltage (it's much longer 
than that, but).
The C source uses cmake on Linux and on Windows (with Visual Studio .NET 2003) 
successfully, but of course that isn't what I'm trying to use.

I've been reading and tinkering with cmake, and it *seems* like it's flexible 
enough that this should work.  But I'm missing (at least) something fundamental 
in my understanding.

If I fire up the cmake GUI, it's very unhappy, which makes sense.  But I seem 
to be able to flog it into agreeing that it's doing Unix makefile format (as 
opposed to defaulting to one of the Visual whatever formats).

If I go to the top of my svn tree (the first level that has a CMakeLists.txt in 
it) and run cmake -i, it fails:

====================
Please wait while cmake processes CMakeLists.txt files....

CMake Error at C:/Program Files/CMake 
2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
  The C compiler "C:/Program Files/Dignus/dcc.exe" is not able to compile a 
simple test program.

  It fails with the following output:

   Change Dir: C:/Voltage/Toolkit/trunk/vtk-core/CMakeFiles/CMakeTmp

  Run Build Command:C:\PROGRA~1\GnuWin32\bin\make.exe CMAKE_TRY_COMPILE.dsw 
/MAKE "cmTryCompileExec - Debug" /BUILD

  make: Nothing to be done for `CMAKE_TRY_COMPILE.dsw'.

  make: *** No rule to make target `/MAKE'.  Stop.

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:16 (project)
====================

As noted, I know I'm missing something very basic here.  Can anyone point me in 
the right direction? Thanks...!
--
...phsiii

Phil Smith III
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to