On 2010-03-29 10:43-0700 Alan W. Irwin wrote: > On 2010-03-25 17:13-0700 Alan W. Irwin wrote: > >> So build-testing (and if that is successful, run-testing) PLplot on >> MinGW/WINE is on my agenda, but due to time pressures right now it will be >> quite a while until I can try that. If anyone else here wants to give it a >> try, please let me know what results you obtain. Make sure you use a recent >> WINE version since results from immature WINE versions are unlikely to be of >> interest. > > I looked into this possibility a bit further. However, it turns out that > all the Wine documentation assumes familiarity with Windows which I don't > have, and so configuring and using wine would be quite intimidating for me.
The current status is that Clinton Stimpson on the cmake list has helped me to get started, and I now have a working build and test (test_noninteractive target) of PLplot for MinGW/MSYS under Wine! I have just posted a long message to the cmake list with all the details (see http://www.cmake.org/pipermail/cmake/2010-April/036246.html). So far the test_noninteractive target results are looking good for the MinGW/MSYS/Wine platform. To get into the MSYS bash environment under Linux you simply run, e.g., wineconsole /home/wine/mingw/MSYS/bin/bash.exe with default PATH set approprately in the Wine registry to find the downloaded and unpacked Windows versions of MinGW, MSYS, and CMake. Then in that MSYS bash environment, you execute, e.g. bash.exe-3.1$ cmake -G "MSYS Makefiles" -DDEFAULT_NO_BINDINGS=ON \ -DDEFAULT_NO_DEVICES=ON -DPLD_ps=ON -DBUILD_TEST=ON \ /z/home/software/plplot_svn/HEAD/plplot_cmake_qt >& cmake.out bash.exe-3.1$ PATH=$PATH:/z/home/wine/cmake/build_dir/dll bash.exe-3.1$ make -j4 test_noninteractive >& make_test.out Note the PATH extension puts the dll subdirectory on the PATH. That PATH extension is required on MinGW/MSYS to gain access to the dll's in the build tree. Also, note the -j4 option to the make command which insures the two cpu's on my box are fully utilized for this target. So far I have confined myself just to the latest development version of MinGW C, but it should be straightforward to download and install the corresponding MinGW Ada, C++, and gfortran components (MinGW Java is not available for the latest development version of MinGW) and expand the PLplot build and test appropriately. I also hope to extend the accessible device drivers using downloaded Windows versions of the GTK+ and Qt library stacks. If that all works, the result should be a pretty high-powered MinGW/MSYS version of PLplot that I can thoroughly test under Wine. I have been frustrated for years by not being able to deal directly with MinGW/MSYS bug reports concerning the build system so I am quite pleased to have this MinGW/MSYS Wine platform accessible to me now. Werner, Hazen, and Arjen cannot be expected to do all the testing work for MinGW/MSYS since they have access to other Windows platforms (proprietary compilers and Cygwin) and Mac OS X platforms that need regular testing as well. Thus, I highly recommend this Wine platform to anyone with Wine access here (i.e., anybody that is running Mac OS X on x86 hardware or running Linux) who wants to help out with our MinGW/MSYS effort. 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); PLplot scientific plotting software package (plplot.org); 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 __________________________ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel