bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld for arm-coff format can't change to binary


From: Tauno Voipio
Subject: Re: ld for arm-coff format can't change to binary
Date: Wed, 23 May 2001 13:45:12 GMT

"David Lin" <address@hidden> wrote in message
news:address@hidden
Hi, there

a problem I encountered has bothered my head for a while
I wonder if it is a bug or not....

I tried to link the coff-format object file and
change the output file with binary image
However, it returns an error message and then stops

command is
"arm-coff-ld -e _hello --oformat binary -o hello.cof hello.o init.o"
the error message is:
"arm-coff-ld: error: cannot change output format whilst linking ARM
binaries"

then I add the --verbose flag
I found the opening of object files are ok
but error met at the next step

the environment I take is cygwin-1.3.1-1,
version of binutils is 2.11.90

could you give some suggestion?
thanks a lot

-------------------------------

Link it to a .coff file and use objcopy to change it to plain binary. You
can also tell objcopy which sections to include in the binary image.

Tauno Voipio
tauno voipio @ iki fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]