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-01-18 17:31:34] 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 77: | Line 97: | ||
$ cat >hello.f | $ cat >hello.f | ||
PROGRAM HELLOW | PROGRAM HELLOW | ||
- | WRITE(UNIT=*, | + | WRITE(UNIT=*, |
END | END | ||
^D | ^D | ||
Line 93: | Line 113: | ||
* the '' | * the '' | ||
- | Unpack these zipfiles | + | For some unfathomable reason, both the flex and bison '' |
+ | |||
+ | $ tar -kxf bison-2.4.1-lib.zip -C /MinGW | ||
+ | |||
+ | This will install a shell script called ''/ | ||
+ | |||
+ | #! /bin/sh | ||
+ | exec / | ||
===== WiX ===== | ===== WiX ===== |