|
From: <HBB...@t-...> - 2006-11-19 22:52:16
|
Petr Mikulik wrote: > By what? Isn't there some way to know whether that dir should be called > "Program Files", "Programy", "Programme", etc? On the more modern systems (Win2K and up, I think), there is an environment variable %ProgramFiles%. The problem with that would be that it reads something like "c:\Program Files" (backslash, drive letter), whereas MSYS (nowadays to be assumed as the underlying Unix substitution layer for MinGW) would want "/c/Program Files", and Cygwin "/cygdrive/c/Program Files". And it's not really clear that getting 'make install' fully right is even worth trying on Windows. > Do you really need it? I "crosscompile" gnuplot for Windows on Linux by > means of MingW: I run the wine console (wcmd), and then do what is written > for mingw: go to src/, type "make -f ../config/makefile.mgw", and it is > done. That's not really cross-compiling. Cross-compiling would mean you build a version of GCC running directly on Linux that builds Win32 executables based on the MinGW libraries and headers. |