Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
diana:windows:building:environment [2010-02-11 15:31:38] dages |
diana:windows:building:environment [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
Assuming Windows XP 32. We will use MinGW to build the libraries and application and MSYS as a working environment. | Assuming Windows XP 32. We will use MinGW to build the libraries and application and MSYS as a working environment. | ||
- | The distinction between MinGW and MSYS is very important: MinGW is a set of compilers and libraries you use to build Windows applications, | + | The distinction between MinGW and MSYS is very important: MinGW is a set of compilers and libraries you use to build Windows applications, |
+ | |||
+ | ===== Directories ===== | ||
+ | |||
+ | We will install MinGW into '' | ||
+ | |||
+ | MSYS maps Unix-like paths to Windows paths: ''/'' | ||
+ | |||
+ | We will install our libraries and applications into '' | ||
+ | |||
+ | C:\> mkdir met.no | ||
+ | C:\> mkdir met.no\bin | ||
+ | C:\> mkdir met.no\include | ||
+ | C:\> mkdir met.no\lib | ||
+ | C:\> mkdir met.no\share | ||
+ | C:\> mkdir met.no\copyright | ||
===== Subversion ===== | ===== Subversion ===== | ||
Line 18: | Line 33: | ||
At this point, you may want to download bsdtar from http:// | At this point, you may want to download bsdtar from http:// | ||
+ | |||
+ | You may want to install InfoZip' | ||
+ | |||
+ | $ make -f win32/ | ||
+ | $ cp zip.exe /mingw/bin | ||
===== MSYS ===== | ===== MSYS ===== | ||
Line 97: | Line 117: | ||
$ tar -kxf bison-2.4.1-lib.zip -C /MinGW | $ tar -kxf bison-2.4.1-lib.zip -C /MinGW | ||
- | ===== m4 ===== | + | This will install a shell script called ''/ |
- | MSYS comes with m4 1.4.7, which is too old for our purposes. | + | #! /bin/sh |
+ | exec /mingw/bin/bison -y " | ||
===== WiX ===== | ===== WiX ===== |