diff options
Diffstat (limited to 'pacman-c++/COMPILE')
| -rw-r--r-- | pacman-c++/COMPILE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/COMPILE b/pacman-c++/COMPILE index 8e588d3..0ecebde 100644 --- a/pacman-c++/COMPILE +++ b/pacman-c++/COMPILE | |||
| @@ -17,11 +17,11 @@ $ ./rebuild.sh | |||
| 17 | compile enet: | 17 | compile enet: |
| 18 | - download and extract http://enet.bespin.org/download/enet-1.3.1.tar.gz to pacman directory | 18 | - download and extract http://enet.bespin.org/download/enet-1.3.1.tar.gz to pacman directory |
| 19 | - rename enet-1.3.1 to enet | 19 | - rename enet-1.3.1 to enet |
| 20 | - open cmd and cd to that directory | ||
| 21 | - use (mingw-)gcc (the same qt sdk is using) and compile enet | 20 | - use (mingw-)gcc (the same qt sdk is using) and compile enet |
| 22 | you can either use mingw + configure or compile enet on your own using commandline method below | 21 | you can either use mingw + configure or compile enet on your own using commandline method below |
| 23 | 22 | ||
| 24 | compile enet - commandline method: | 23 | compile enet - commandline method: |
| 24 | - open cmd and cd to the enet-directory | ||
| 25 | - you will need to expand %PATH% before mingw tools are usable (set PATH=/path/to/mingw;%PATH%) | 25 | - you will need to expand %PATH% before mingw tools are usable (set PATH=/path/to/mingw;%PATH%) |
| 26 | - execute do this for every *.c-file replacing $file with the filename: | 26 | - execute do this for every *.c-file replacing $file with the filename: |
| 27 | $ gcc -DWIN32 -I. -Iinclude -g -O2 -c -o $file.o $file.c | 27 | $ gcc -DWIN32 -I. -Iinclude -g -O2 -c -o $file.o $file.c |
