delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/01/08:28:43

Date: Tue, 1 Feb 1994 06:17:54 -0600 (CST)
From: Jorge Fernandez Arnaiz <arnaiz AT redvax1 DOT dgsca DOT unam DOT mx>
Subject: Re: Problems with DJGPP 1.11 (GAS2.11)
To: Elston <elston DOT tsw AT atic-mhs DOT elan DOT af DOT mil>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019