delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/05/20:31:03

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: to whom it may concern
Date: Fri, 05 Jun 1998 18:07:19 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 52
Message-ID: <35786C17.83EFEA33@cs.com>
References: <3 DOT 0 DOT 1 DOT 32 DOT 19980605164535 DOT 00685acc AT box1 DOT tin DOT it>
NNTP-Posting-Host: ppp142.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Baldi Papini Patrizio wrote:
> 
> I am an Italian student of the faculty of electronic engineering of
> Bologna; I am using your djgpp for studying the exam of software
> engineering, but I have a little problem: It does not recognize the
> libraries (for example <stdio.h>).
> Do you know what could be the problem?
> I hope that you can be able to help me, because I have the exam in a few
> weeks!!

I don't mean to sound pedantic, but have you tried reading the
instructions?  In 'readme.1st', you are told to place the DJGPP 'bin'
directory into your PATH and set the environment variable DJGPP to point
to the location of the file 'djgpp.env'.  Assuming you installed into
C:\DJGPP, the commands to place in your autoexec.bat would look like the
following:

SET PATH=C:\DJGPP\BIN;%PATH%
SET DJGPP=C:\DJGPP\DJGPP.ENV

If you make these settings, save, and reboot, DJGPP should run properly.

There are some other potential reasons for this problem:

 - You didn't unzip the file 'djdev201.zip', which contains the C
headers and libraries.
 - You have improperly modified the file 'djgpp.env'.
 - You misspelled the DJGPP variable, set it to the wrong location, or
inserted extra spaces/blanks into the setting.

The DJGPP Frequently Asked Questions list (v2/faq210b.zip from SimTel or
online at http://www.delorie.com/djgpp/v2faq/) contains additional
causes and solutions in chapter 8.1.  Also, in chapter 6.12, it
describes the proper format for posting a system report to this
discussion group.

You might also want to try out the latest version of DJVERIFY, an
installation diagnostic utility that I have developed and am currently
testing.  It can figure out most basic problems with a DJGPP
installation and prepare a system report suitable for posting.  You can
download it from my web site below, or directly from
http://www.cs.com/fighteer/files/vrfy04a.zip.

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