Skip to content

Commit ae72157

Browse files
committed
Update README.md
1 parent f14f72a commit ae72157

File tree

1 file changed

+39
-18
lines changed

1 file changed

+39
-18
lines changed

README.md

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,12 @@ Currently supported djgpp-version :
8080
* 6.1.0
8181
* 6.2.0
8282
* 6.3.0
83+
* 7.1.0
8384

84-
For example, to build DJGPP for gcc 6.3.0 :
85+
For example, to build DJGPP for gcc 7.1.0 :
8586

8687
```
87-
./build-djgpp.sh 6.3.0
88+
./build-djgpp.sh 7.1.0
8889
```
8990

9091
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
9596

9697
* Use compiler full name :
9798

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+
```
101116

102-
* Or, use compiler short name, you have to change environment variables :
117+
If you are using Windows command prompt :
103118

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+
```
109124

110-
If you are using Windows command prompt :
125+
Or, run :
126+
127+
```
128+
BASE_DIR/setenv.bat
129+
```
111130

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
117138

118139
### Successful build
119140

120-
* OSX 10.10.4 / 10.9.5 / 10.8.5
141+
* OSX 10.12.4
121142
* Debian 7 (32bit)
122143
* Ubuntu 12 (64bit)
123144
* FreeBSD-10.2 (64bit)

0 commit comments

Comments
 (0)