delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/07/06:24:02

Date: Sun, 7 Jan 1996 13:11:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: James McMillan <jmcmilla AT bud DOT peinet DOT pe DOT ca>
Cc: djgpp AT delorie DOT com
Subject: Re: -lgcpp not found? (and directory setting)

On Sat, 6 Jan 1996, James McMillan wrote:

>  I just downloaded djgpp went through installing everything, and then made up s 
> test source code to see if everything was right.
>  But when I try to copile it with gcc I get:
> ld.exe: -lgcc not found
> 
>  what is this? How can I fix this?

The linker needs the library called libgcc.a, but cannot find it.

>  Also when I try to #include files like stdio.h I get an error message it could not be
> found How do I set the directory?

Seems that DJGPP cannot find its configuration file.  Did you set the 
DJGPP environment variable?  If you type `set' from the DOS prompt and 
press [Enter], you should see something like this:

	DJGPP=c:/djgpp/djgpp.env

(but in your case, make sure the correct path of DJGPP.ENV file is 
mentioned).  If this is not the case, set the environment variable and 
try again.

- Raw text -


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