On 2014-01-04 15:12-0800 Alan W. Irwin wrote: > I now plan to follow up that success with an attempt to build Tcl-8.6 > on Wine. The 8.5-cygwin.patch referred to above is almost exclusively > concerned with just the Cygwin platform, and the small part of it that > is relevant to MinGW has already made it into Tcl-8.6. So I won't be > applying any patches at all for my first attempt to build the Windows > (not Cygwin) version of Tcl using the Tcl win subdirectory
The epa_build and install of Tcl8.6 finished without errors for MinGW/MSYS/Wine after some small modifications of epa_build (revision 12918). So that is an extremely promising result. I have followed up with an attempt at an epa_build of Tk8.6, but so far I have been blocked from getting anywhere because the CPPFLAGS environment variable (which sets a gcc -I option so that build finds the installed Tcl headers for the Linux case) is being ignored for the MinGW/MSYS/Wine case contrary to the documentation given by the Tk "win/configure --help" command which encourages use of CPPFLAGS. What happens in the Linux case via the Tk unix/configure script case is CPPFLAGS is never mentioned explicitly in the configured Makefile, but instead the value of CPPFLAGS is appended to CFLAGS in that Makefile and CFLAGS is honored by the Gnu make implicit build rules. In contrast what happens for the MinGW/MSYS case via the Tk win/configure script is CPPFLAGS is mentioned in the Makefile, but its value is not used by CFLAGS (and apparently the implicit build rules for MSYS make.exe also ignore CPPFLAGS). My experience is that CFLAGS is always honored on all platforms so the obvious fix (which I will try tomorrow) is to drop use of CPPFLAGS to propagate -I options and instead propagate those options by appending them to CFLAGS for all platforms. 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 __________________________ ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel