---- Le ven., 18 juin 2021 10:42:37 -0400 Jonathan Wakely <jwakely.gcc@xxxxxxxxx> écrit ---- On Fri, 18 Jun 2021 at 11:44, Paul Dufresne via Gcc-help <mailto:gcc-help@xxxxxxxxxxx> wrote: > >> Goal: compile DOS 32 bits program in Linux because many scripts use bash >Please clarify. Are you trying to compile DOS programs to run on linux? >Or just compile them on linux, to be run on Windows machines? compile them on linux, to be run on DOS under DPMI (cwsdpmi) machines?... not Windows >> Not sure I am on the right track. >I think you are on completely the wrong track, but you haven't told us >how you even configured GCC so we can't really say much about the rest >of the errors you showed. export PREFIX="$HOME/opt/cross" export TARGET=i386-pc-msdosdjgpp export PATH="$PREFIX/bin:$PATH" mkdir build-gcc cd build-gcc ../gcc-x.y.z/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++