Mail Archives: djgpp/1994/02/01/08:28:43
On Mon, 31 Jan 1994, Elston wrote:
> I recently installed DJGPP 1.11 on my PC. I immediately started the
> tests in the TESTS subdirectory and the compiler failed on the first
> test with the following linker error:
>
> c:/mark/djgpp/lib/crt0.o: malformed input file (not rel or archive)
>
> I have tried to run objdump on lib/crt0.o and it gives me a similar
> error (not an object file). In fact I can compile any .c (or .cc)
> file to an object file and then run objdump on it and I still get the
> same error.
I began having a similar error after compiling and linking some
test program. The error was that i use the line:
gcc -ansi test.c -o
and gcc emit output that overwrite crt0.o After the error i was
unable to link any code until i got a fresh copy of crt0.o
Maybe thats happening to you...
Hope that helps.
Jorge
======================================================================
name: Jorge Fernandez Arnaiz
org: Instituto Nacional de Investigaciones Nucleares
country: Mexico, D.F.
p-mail: Sierra Mojada #447, Lomas de Chapultepec, Mexico D.F.
e-mail: arnaiz AT redvax1 DOT dgsca DOT unam DOT mx
======================================================================
- Raw text -