Hi Arjen,

> No, Tcl/Tk is fine without MinGW. I just noticed the condition that we 
> only set
> the output path on Windows, unless we are using Cygwin. I am not sure if 
> MinGW
> handles the rpath option in the same way as Cygwin. If it does, then for 
> MinGW
> we do not need the output path either.

Ah, ok, now I get it. MinGW would be fine here, since rpaths doesn't 
work here either. I should explain this in more detail.

There are actually two "versions" of MinGW available for Windows.

One provides just the compilers and some tools (make, etc.) which you 
need, but nothing else (not bash), and it is meant to be used in the 
Windows Shell/CLI cmd.exe. Here nothing unix like (rpath, etc.) works, 
it behaves exactly the same as you would use Visual C++ in a Windows Shell.

The second version is called msys, and here though the exactly same 
compiler executables are used on top of that is a port of bash and some 
other tools (automake, etc.) and you don't use the Windows CLI at all. 
The second version behaves very much like Unix or Cygwin, e.g. the 
filenames are /home/user/whatever and not C:\Program Files\firefox. Msys 
makes it easier to port Unix programs, since you can use the configure 
and so on.

To my knowledge (e.g. from the wxWidgets mailing list) not many Windows 
people use Msys - most use the MinGW tools in the Windows CLI. The 
reason is to my opinion, apart from msys being damn slow: because of the 
very same reason I failed with bash just before. At some point you want 
to use a Windows executable which accepts only Windows filenames and 
voila, you are in devils kitchen.

So, Arjen, you are right, we need to also take care of MinGW, but only 
for msys. But since CMake doesn't provide an easy way to distinguish 
between MinGW in CLI and Mingw in Msys (both have MINGW set to 1) it's 
not that easy. I recently found out, that we can check which generator 
is used (cmake uses "MinGW Makefiles" for the MinGW/CLI version and 
"MSYS Makefiles" for msys), but I didn't test this yet.

> 
> Anyway, that is a territory still left open.

Yes, you are right, some work is still to be done here.

Thanks,
Werner

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to