@@ -80,11 +80,12 @@ Currently supported djgpp-version :
80
80
* 6.1.0
81
81
* 6.2.0
82
82
* 6.3.0
83
+ * 7.1.0
83
84
84
- For example, to build DJGPP for gcc 6.3 .0 :
85
+ For example, to build DJGPP for gcc 7.1 .0 :
85
86
86
87
```
87
- ./build-djgpp.sh 6.3 .0
88
+ ./build-djgpp.sh 7.1 .0
88
89
```
89
90
90
91
It will download all necessary files, build DJGPP compiler and binutils, and install it.
@@ -95,29 +96,49 @@ There are 2 methods to run the compiler (*BASE_DIR* is your DJGPP install locati
95
96
96
97
* Use compiler full name :
97
98
98
- ```
99
- BASE_DIR/bin/i586-pc-msdosdjgpp-g++ hello.cpp
100
- ```
99
+ ```
100
+ BASE_DIR/bin/i586-pc-msdosdjgpp-g++ hello.cpp
101
+ ```
102
+
103
+ * Or, use compiler short name, you have to change environment variables.
104
+
105
+ If you are using Linux :
106
+ ```
107
+ export PATH=BASE_DIR/i586-pc-msdosdjgpp/bin/:$PATH
108
+ export GCC_EXEC_PREFIX=BASE_DIR/lib/gcc/
109
+ g++ hello.cpp
110
+ ```
111
+ Or, run :
112
+
113
+ ```
114
+ source BASE_DIR/setenv
115
+ ```
101
116
102
- * Or, use compiler short name, you have to change environment variables :
117
+ If you are using Windows command prompt :
103
118
104
- ```
105
- export PATH=BASE_DIR/i586-pc-msdosdjgpp/bin/:$ PATH
106
- export GCC_EXEC_PREFIX=BASE_DIR/lib/gcc/
107
- g++ hello.cpp
108
- ```
119
+ ```
120
+ PATH=BASE_DIR/i586-pc-msdosdjgpp/bin;% PATH%
121
+ set GCC_EXEC_PREFIX=BASE_DIR/lib/gcc/
122
+ g++ hello.cpp
123
+ ```
109
124
110
- If you are using Windows command prompt :
125
+ Or, run :
126
+
127
+ ```
128
+ BASE_DIR/setenv.bat
129
+ ```
111
130
112
- ```
113
- PATH=BASE_DIR/i586-pc-msdosdjgpp/bin;%PATH%
114
- set GCC_EXEC_PREFIX=BASE_DIR/lib/gcc/
115
- g++ hello.cpp
116
- ```
131
+ ### Supported DJGPP Utilities
132
+ * dxe3gen
133
+ * dxe3res
134
+ * dxegen
135
+ * exe2coff
136
+ * stubedit
137
+ * stubify
117
138
118
139
### Successful build
119
140
120
- * OSX 10.10.4 / 10.9.5 / 10.8.5
141
+ * OSX 10.12.4
121
142
* Debian 7 (32bit)
122
143
* Ubuntu 12 (64bit)
123
144
* FreeBSD-10.2 (64bit)
0 commit comments