Date: Sat, 13 Sep 1997 11:42:05 -0500 From: Jeff Wilson Subject: I keep getting a file format error in linking To: djgpp AT delorie DOT com Message-id: <341AC25D.4031@swt.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <341AC0F0 DOT 1E36 AT swt DOT edu> Precedence: bulk I am new to gcc, but am liking it very much. If I make az simple one file program, all is fine, but when I link several files together...I get a ld.exe error -lgcc file in wrong format After browsing the mail archive, I found other with this problem, so I don't feel alone. The answer you gave was to check the libgcc.a file for corruption. I followed your suggestions, but to no avail. Still same problem. Please respond ASAP, because there is only 3 days left before this assignment is due. (I didn't wait until the last minute...it was assigned two days ago.) Thank you... David Wilson