bug-binutils
[Top][All Lists]
Advanced

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

Re: Need workaround for the "PE operations on non PE file" bug.


From: Nick Clifton
Subject: Re: Need workaround for the "PE operations on non PE file" bug.
Date: Tue, 13 Jul 2004 19:53:22 +0100
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

Hi Admin,

I got big problems compiling a flat binary executable, as I always get this
"PE operations on non PE file" when doing:

gcc -c test.c
ld test.o -o test.bin --oformat binary -Ttext 0x100000

Try omitting the "-oformat binary" from the linker command line. Then once your have an executable use the "objcopy" command to translate the output into the binary file format.

Cheers
  Nick






reply via email to

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