This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
compiling binutils under DOS for ELF output
- To: binutils at sources dot redhat dot com
- Subject: compiling binutils under DOS for ELF output
- From: Michael Noisternig <michael dot noisternig at sbg dot ac dot at>
- Date: Sat, 01 Sep 2001 15:19:23 +0200
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.