[CMake] Status/use of CMake on Cygwin

David Cole dlrdave at aol.com
Sun May 19 17:06:11 EDT 2013


Hey Alan,


Hope you’re doing well out there in the Pacific Northwest.


Answers to your numbered questions:


1. I don’t know -- Bill will have to answer this one.


2. No -- do not use the Windows binaries in the Cygwin environment. You have to use Cygwin cmake in the Cygwin environment.


3. Just use the bootstrap script, and treat it like a normal Linux/Unix environment. Make sure you have gcc/g++ for Cygwin installed first.


4. Use the “Unix Makefiles” generator. Just like on Linux/Unix.


Disclaimer: I have found (over the years) the Cygwin environment to be ridiculously, enormously slow and frustrating, and have literally completely given up on it as a realistic development environment. I personally do not use it or install it, EVER. It’s probably been 3-4 years since I had one of my machines that had any form of Cygwin on it.


So... take what I say with a grain of salt, but I believe my answers to be accurate despite my personal biases.



Cheers,

David





From: Alan W. Irwin
Sent: ‎Sunday‎, ‎May‎ ‎19‎, ‎2013 ‎4‎:‎17‎ ‎PM
To: Bill Hoffman
Cc: cmake at cmake.org

Hi Bill:

I am addressing this mostly to you because I believe you have
a strong historical interest in the Cygwin platform.

Just to remind you, my use case is I build and test a fair number of
different cross-platform software packages (FreeEOS, te_gen, ephcom,
and PLplot and all their dependencies) with CMake-based build systems
on both Linux and the Wine version of Windows.  For the latter case, I
have had perfect success (no issues at all compared with the Linux
builds and tests) with CMake-2.8.10.2, nearly the latest MinGW (4.7.0,
but I haven't tried the latest 4.7.2 yet), and MSYS on Wine-1.5.19.

Encouraged by that Wine build and test success I would like to install
Cygwin on Wine-1.5.19 and try to build and test all the packages I am
interested in on the Cygwin/Wine platform.  GUI installers that I have
tried so far all seem to work well on Wine so I don't anticipate any
difficulties with the Cygwin GUI installer.  But I am a complete
Cygwin newbie so I have some questions about how to access and use
the latest CMake on that platform.

1. The CMake version at http://cygwin.com/packages/cmake/ appears to
be somewhat outdated.  The latest available package there is
cmake-2.8.9.  My impression is in the past the Cygwin package for
cmake was your work.  Is that still the case, do you plan to update
that package to CMake-2.8.10.2 (or 2.8.11) anytime soon?

2. If you are no longer involved with that package, can I just
download the Windows binary version of CMake-2.8.10.2 or later for use
on Cygwin?

3, Even if a binary version of CMake-2.8.10.2 or later is 
available for Cygwin, I may build it anyway on that platform just for the
practice.  Are there any special build instructions
for that platform?

4. Which of the command-line generators should I be using on
Cygwin?  I assume it is one of the "* Makefiles" ones, but
which one?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
--

Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130519/3729406d/attachment.htm>


More information about the CMake mailing list