Re: [CMake] FW: cmake newbie questions

2008-08-07 Thread Phil Smith
Sorry. It works if I *do* comment out those lines. So I've removed them. -Original Message- From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 5:15 PM To: cmake@cmake.org Cc: Phil Smith Subject: Re: [CMake] FW: cmake newbie questions On Thursday 07 A

Re: [CMake] FW: cmake newbie questions

2008-08-07 Thread Alexander Neundorf
On Thursday 07 August 2008, Phil Smith wrote: > C:\temp>cmake -P CMakeLists.txt > -- x length: 2 > -- y length: 1 > > C:\temp> That's good. > I get the same result in "my" directory (with the file renamed, of course). > > Ah HAH -- if I comment out: > # INCLUDE (CMakeForceCompiler) > # CMAKE_FOR

Re: [CMake] FW: cmake newbie questions

2008-08-07 Thread Alexander Neundorf
On Thursday 07 August 2008, Phil Smith wrote: > Is 'failed' for " Detecting C compiler ABI info" OK (it seems to work, just > paranoid at this point)? Not sure it's ok, at least it is correct (it is not ELF). Can you check where CMAKE_C_COMPILER_ABI is used ? Alex

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Phil Smith
Is 'failed' for " Detecting C compiler ABI info" OK (it seems to work, just paranoid at this point)? -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: c:/progra~1/dignus/cc.bat -- Check for working C compiler: c:/progra~1/di

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Phil Smith
cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Wednesday 06 August 2008, Phil Smith wrote: > Harrumph: > > C:\temp>cmake -G"Unix Makefiles" . > -- The C compiler identification is unknown > -- The CXX compiler identification is unknown > -- Check for w

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Alexander Neundorf
On Wednesday 06 August 2008, Phil Smith wrote: > Harrumph: > > C:\temp>cmake -G"Unix Makefiles" . > -- The C compiler identification is unknown > -- The CXX compiler identification is unknown > -- Check for working C compiler: CMAKE_C_COMPILER-NOTFOUND > CMake Error: your C compiler: "CMAKE_C_COMPI

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Phil Smith
> -Original Message- From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 5:49 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Wednesday 06 August 2008, Phil Smith wrote: > I added the last line in the following blo

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Alexander Neundorf
On Wednesday 06 August 2008, Phil Smith wrote: > I added the last line in the following block in > CMakeDetermineCCompiler.cmake (insertion after line 69): > > LIST(LENGTH CMAKE_C_COMPILER _CMAKE_C_COMPILER_LIST_LENGTH) > IF("${_CMAKE_C_COMPILER_LIST_LENGTH}" EQUAL 2) > LIST(GET CMAKE_C_COM

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Phil Smith
- From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 4:30 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Wednesday 06 August 2008, Phil Smith wrote: > No errors, no CMakeError.log -- just null values for the SIZEOF_LONG_LO

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Alexander Neundorf
On Wednesday 06 August 2008, Phil Smith wrote: > No errors, no CMakeError.log -- just null values for the SIZEOF_LONG_LONG > et al. > > It sets CMAKE_C_COMPILER_ARG1 in CMakeDetermineCCompiler.cmake -- but > inside: IF(NOT CMAKE_C_COMPILER) > > ...so it doesn't do it if you explicitly specify a C c

Re: [CMake] FW: cmake newbie questions

2008-08-06 Thread Phil Smith
er failures before). ...phsiii -Original Message- From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2008 5:30 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Tuesday 05 August 2008, Phil Smith wrote: > Nope, that didn

Re: [CMake] FW: cmake newbie questions

2008-08-05 Thread Alexander Neundorf
On Tuesday 05 August 2008, Phil Smith wrote: > Nope, that didn't do it. I tried it with and without double quotes around > the value: no -fascii was passed in either case. >From a clean build tree, right ? It should work. If it doesn't, search for CMAKE_C_COMPILER_ARG1 and check using MESSAGE(

Re: [CMake] FW: cmake newbie questions

2008-08-05 Thread Phil Smith
e@cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Tuesday 05 August 2008, Phil Smith wrote: > I'm not sure, but when I look at the -fascii-ized version of > CheckTypeSizeC.o using my text editor on Windows, I find: > INFO:sizeof[8] > as I'd expect. > &

Re: [CMake] FW: cmake newbie questions

2008-08-05 Thread Alexander Neundorf
On Tuesday 05 August 2008, Phil Smith wrote: > I'm not sure, but when I look at the -fascii-ized version of > CheckTypeSizeC.o using my text editor on Windows, I find: > INFO:sizeof[8] > as I'd expect. > > Well, actually I know one answer: the square brackets are a problematic > character, and

Re: [CMake] FW: cmake newbie questions

2008-08-04 Thread Phil Smith
special options could exist, defaulting to -fascii. ...phsiii -Original Message- From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 5:50 PM To: cmake@cmake.org Cc: Phil Smith Subject: Re: [CMake] FW: cmake newbie questions On Friday 01 August 2008, Phil

Re: [CMake] FW: cmake newbie questions

2008-08-04 Thread Alexander Neundorf
On Friday 01 August 2008, Phil Smith wrote: > >Did you set the CMAKE_EXECUTABLE_SUFFIX appropriately for z/OS ? > > If by 'executable' you mean 'linked object', i.e., a .EXE if this was > Windows, then I *think* I have: in zosport.cmake is: > > SET(CMAKE_LINKER "linkit.bat") > SET(CMAKE_EXECU

Re: [CMake] FW: cmake newbie questions

2008-08-04 Thread Alexander Neundorf
On Friday 01 August 2008, Phil Smith wrote: > Sure, here are two files: > ctsc.fascii -- CheckTypeSizeC.c compiled with the Dignus -fascii option > ctsc.nofascii -- CheckTypeSizeC.c compiled without the Dignus -fascii > option The file indeed looks different than all object files I have ever see

Re: [CMake] FW: cmake newbie questions

2008-08-04 Thread Phil Smith
CTED] Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Phil Smith
>Did you set the CMAKE_EXECUTABLE_SUFFIX appropriately for z/OS ? If by 'executable' you mean 'linked object', i.e., a .EXE if this was Windows, then I *think* I have: in zosport.cmake is: SET(CMAKE_LINKER "linkit.bat") SET(CMAKE_EXECUTABLE_SUFFIX "OUT") However, my linkit.bat starts with

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Phil Smith
From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 1:49 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Thursday 31 July 2008, Phil Smith wrote: > There are executables with z/OS, but they're linkedited and certainly won'

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Alexander Neundorf
On Thursday 31 July 2008, Phil Smith wrote: > There are executables with z/OS, but they're linkedited and certainly won't > run on Windows *at all*. > > Since I've never had to understand the format of an object file on Windows, > I'm not sure how to answer the second question. Here's a screenshot

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Phil Smith
es this error really mean? I can't seem to find anything on it. ...phsiii -Original Message- From: Alexander Neundorf [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 12:40 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions On Thursday 31 July 2

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Alexander Neundorf
On Thursday 31 July 2008, Phil Smith wrote: > When you say "the executable", I assume you mean the object code? Note > that this is being compiled for a System z mainframe, so the object won't > look much like anything you've seen before. I can send it, but is that > going to help? I can't tell

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Phil Smith
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Smith Sent: Thursday, July 31, 2008 11:24 AM To: [EMAIL PROTECTED]; cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions When you say "the executable", I assume you mean the object code? Note that

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Phil Smith
TED] Sent: Wednesday, July 30, 2008 1:48 PM To: cmake@cmake.org Cc: Phil Smith Subject: Re: [CMake] FW: cmake newbie questions On Wednesday 30 July 2008, Phil Smith wrote: > But then it complains that there's no CMakeLists.txt in the directory. > Anyway, I wasn't clear: the same p

Re: [CMake] FW: cmake newbie questions

2008-07-31 Thread Alexander Neundorf
On Wednesday 30 July 2008, Phil Smith wrote: > But then it complains that there's no CMakeLists.txt in the directory. > Anyway, I wasn't clear: the same person isn't likely to be doing z/OS and > Windows on the same machine. But since the same CMakeLists.txt is to be > used, I didn't want to hard

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Phil Smith
dnesday, July 30, 2008 3:02 PM To: Bill Hoffman Cc: Cmake Mailing List Subject: Re: [CMake] FW: cmake newbie questions >Failing on check size of is not a good thing, and I would track that >down if I were you... Any clues how to do that? I see this in CMakeCache.txt: HAVE_

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Phil Smith
TERNAL= //Result of CHECK_TYPE_SIZE SIZEOF_UNSIGNED_SHORT:INTERNAL= ...but that's about it. -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 2:04 PM To: Phil Smith Cc: Cmake Mailing List Subject: Re: [CMake] FW: cmake newbie questions Phil

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Bill Hoffman
Phil Smith wrote: But then it complains that there's no CMakeLists.txt in the directory. Anyway, I wasn't clear: the same person isn't likely to be doing z/OS and Windows on the same machine. But since the same CMakeLists.txt is to be used, I didn't want to hard-code anything in there. I've chan

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Phil Smith
[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 12:15 PM To: Phil Smith Cc: Bill Hoffman; Cmake Mailing List Subject: Re: [CMake] FW: cmake newbie questions Phil Smith wrote: >OK, next issue. I'm following (or trying to) the cross-compiler page. Since the same source tree is to be used to ge

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Bill Hoffman
Phil Smith wrote: OK, next issue. I'm following (or trying to) the cross-compiler page. Since the same source tree is to be used to generate Win32 and z/OS, I think I want to tell it "This is a z/OS run" using a flag. I thus created zcmake.bat: cmake -DCMAKE_TOOLCHAIN_FILE:string="zos.cmake"

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Alexander Neundorf
Hi Phil, On Wednesday 30 July 2008, Phil Smith wrote: ... > 2) The messages: > -- The C compiler identification is unknown > -- The CXX compiler identification is unknown >...seem to be generated because CMakeCXXCompilerId.cpp.in doesn't know > about Dignus. Is there a nice way

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Phil Smith
file was copied to CopyOfCMakeCache.txt. Please send that fil e to [EMAIL PROTECTED] -- Configuring done -- Generating done -- Build files have been written to: C:/Documents and Settings/Voltage/svn/Toolk it/trunk/vtk-core - That *looks* like it worked?!?! ...phsiii (two forward, one back) --

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Alexander Neundorf
On Wednesday 30 July 2008, Mike Jackson wrote: > What is actually going on is that CMake is actually compiling and > _running_ a small application to determine what endian type the > machine is. I am guessing that the z/OS executable will not actually > _run_ on your host system so it will give an

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Phil Smith
;ve reached the end of my questions, but in any case, thanks 10**6 for all the help so far! ...phsiii -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 10:25 AM To: Mike Jackson Cc: Phil Smith; Cmake Mailing List Subject: Re: [CMake] FW: cmake newbi

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Bill Hoffman
Mike Jackson wrote: You are going to have to look through the CMake files and determine where the "TEST_BIG_ENDIAN(variable)" is located. Then you will need to put in some sort of conditional statement that says if you are compiling for z/OS then set "variable" to "true". This really sounds

Re: [CMake] FW: cmake newbie questions

2008-07-30 Thread Mike Jackson
PROTECTED] On Behalf Of Mike Jackson Sent: Tuesday, July 29, 2008 6:15 PM To: Cmake Mailing List Subject: Re: [CMake] FW: cmake newbie questions What is actually going on is that CMake is actually compiling and _running_ a small application to determine what endian type the machine is. I am gue

Re: [CMake] FW: cmake newbie questions

2008-07-29 Thread Phil Smith
Thanks; "the variable" -- what's it called? Yes, it's ALWAYS big endian. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Jackson Sent: Tuesday, July 29, 2008 6:15 PM To: Cmake Mailing List Subject: Re: [CMake] FW: cmake newbi

Re: [CMake] FW: cmake newbie questions

2008-07-29 Thread Mike Jackson
OS is big endian or little endian (it's big endian). How do I tell it? I think we're close! -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2008 8:10 AM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie question

Re: [CMake] FW: cmake newbie questions

2008-07-29 Thread Phil Smith
e.org Subject: Re: [CMake] FW: cmake newbie questions Phil Smith wrote: > OK, I've gotten the compiler happy, I think, but cmake still whines. It's > calling my BAT file that invokes the actual compiler; but it says "No rule to > make target `/MAKE'. Stop."?! >

Re: [CMake] FW: cmake newbie questions

2008-07-28 Thread John Drescher
> You are using the visual studio generator or it would not be creating a dsw. >Use the "Unix Makefiles" generator instead. > My guess is that he is trying to use both the visual studio generator to make a visual studio project to edit the source code in and then run the make file generator to

Re: [CMake] FW: cmake newbie questions

2008-07-28 Thread Bill Hoffman
Phil Smith wrote: OK, I've gotten the compiler happy, I think, but cmake still whines. It's calling my BAT file that invokes the actual compiler; but it says "No rule to make target `/MAKE'. Stop."?! C:\Documents and Settings\Voltage\svn\Toolkit\trunk\vtk-core>cmake . -- Check for working C co

Re: [CMake] FW: cmake newbie questions

2008-07-28 Thread Phil Smith
OK, I've gotten the compiler happy, I think, but cmake still whines. It's calling my BAT file that invokes the actual compiler; but it says "No rule to make target `/MAKE'. Stop."?! C:\Documents and Settings\Voltage\svn\Toolkit\trunk\vtk-core>cmake . -- Check for working C compiler: C:/Program F

Re: [CMake] FW: cmake newbie questions

2008-07-24 Thread Bill Hoffman
Phil Smith wrote: C:\Program Files\GnuWin32\bin>make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built

Re: [CMake] FW: cmake newbie questions

2008-07-24 Thread Phil Smith
-pc-mingw32 -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 10:56 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions Phil Smith wrote: > Ah. I'm using GNU make. Will try that tomorrow (I'm on East

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread Bill Hoffman
Phil Smith wrote: Ah. I'm using GNU make. Will try that tomorrow (I'm on East coast, and it's bedtime)! Thanks. I see that: > C:/PROGRA~1/GnuWin32/bin/make.exe What version of gmake is this? make --version -Bill ___ CMake mailing list CMake@cma

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread Phil Smith
Ah. I'm using GNU make. Will try that tomorrow (I'm on East coast, and it's bedtime)! Thanks. -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 10:40 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread Bill Hoffman
Phil Smith wrote: Um, right. Cut&paste misfire, hit SEND instead of PASTE. The error: --- 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

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread Phil Smith
--- -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 10:26 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions Phil Smith wrote: > Well, that certainly changed the error: > And the err

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread Bill Hoffman
Phil Smith wrote: Well, that certainly changed the error: And the error is? -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread Phil Smith
Well, that certainly changed the error: -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 10:01 PM To: Phil Smith Cc: cmake@cmake.org Subject: Re: [CMake] FW: cmake newbie questions Phil Smith wrote: > Is my problem so vague that nobody e

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread John Drescher
On Wed, Jul 23, 2008 at 10:01 PM, Phil Smith <[EMAIL PROTECTED]> wrote: > Thanks...that's a good suggestion; I think I've done it, but I'm at that > point where I *think* I've done everything, and may have gone in circles. > > How do I tell it "It's a make build" without using the GUI? There must

Re: [CMake] FW: cmake newbie questions

2008-07-23 Thread Bill Hoffman
Phil Smith wrote: 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

[CMake] FW: cmake newbie questions

2008-07-23 Thread Phil Smith
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,