compiling binutils under DOS for ELF output

Michael Noisternig michael.noisternig@sbg.ac.at
Sat Sep 1 06:13:00 GMT 2001


Hello people,

I have been trying to build binutils for my need for 3 days now without
any success.
I would be very grateful if you could give me a way to do.

I want binutils for the DOS environment producing ELF format as output.

I tried to compile the binutils-2.11.2 package under DOS with DJGPP.
configure worked fine with

./configure --with-gnu-as --with-gnu-ld --with-stabs
--host=i586-msdosdjgpp --target=i586-elf

but make immediately failed with

make.exe[1]: Entering directory `e:/gcc/binuti~1.2/libiberty'
make.exe[1]: *** [config.h] Error -1
make.exe[1]: Leaving directory `e:/gcc/binuti~1.2/libiberty'
make.exe: *** [all-libiberty] Error 2

I also tried to compile the binutils under Linux to produce DOS
executables with

./configure --with-gnu-as --with-gnu-ld --with-stabs
--host=i586-msdosdjgpp --target=i586-elf

but they all come out as ELF files.

Please, please help. Many thanks in advance,
Michael Noisternig.



More information about the Binutils mailing list