www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/06/22:30:51

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP!
Date: Wed, 06 May 1998 18:51:39 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 34
Message-ID: <3550E97B.4AAF@cs.com>
References: <6ipui4$4fg$4 AT o DOT online DOT no> <6iq2ri$8nf$1 AT rosenews DOT rose DOT hp DOT com> <6iqp3o$hi$1 AT o DOT online DOT no>
NNTP-Posting-Host: ppp132.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sten Karsten Vartdal wrote:
> 
> Got message:
> 
> E:\DJGPP\BIN>GCC -v
> Using builtin specs.
> gcc version 2.8.0
> 
> And when I try to compile:
> 
> E:\DJGPP\BIN>gcc test.c
> ld.exe: cannot open -lgcc: File format not recognized

You have to use the '-v' parameter in addition to the rest of your
normal command line (i.e, "gcc -v test.c").  Otherwise gcc just takes it
and does nothing.

You haven't given us enough information to diagnose your problem; please
see the DJGPP Frequently Asked Questions list, chapters 6 and 8.  If you
are still having troubles, you could try to use my DJVERIFY diagnostic
utility, available from http://www.cs.com/fighteer/files/vrfy04a.zip. 
It's designed to detect broken installations and recommend solutions,
and it can prepare a suitable system report for posting on the
discussion group.

hth

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Autocracy is based on the assumption|
|       aka Fighteer I       | that one man is wiser than a million |
|   mailto:fighteer AT cs DOT com   | men.  Let's play that over again,    |
| http://www.cs.com/fighteer | too.  Who decides?"   - Lazarus Long |
---------------------------------------------------------------------

- Raw text -


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