www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/28/00:59:54

Date: Sun, 28 Jul 1996 07:53:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Edward A Markiewicz/OSI <Edward_A_Markiewicz/OSI DOT OSI AT noteserv-notes DOT osi DOT com>
Cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: Can't find stdio.h
In-Reply-To: <9607261540.AA14360@noteserv.osi.com.osi.COM>
Message-Id: <Pine.SUN.3.91.960728074805.23430B-100000@is>
Mime-Version: 1.0

On 26 Jul 1996, Edward A Markiewicz/OSI wrote:

> REM These lines added by PC-NFSpro Configuration                                
> c:\pcnfspro\ETC\NFSWAUTO    
> REM These lines added by PC-NFSpro 
> Configuration                                                                                  
> 
> set DJGPP=C:\DJGPP\DJGPP.ENV                                                    

Is that NFSWAUTO a batch file?  If it is, then you should invoke it with 
the CALL command, like this:

	call c:\pcnfspro\ETC\NFSWAUTO

Batch files that are invoked without CALL never return to their parent
batch file, so the line that should set DJGPP in the environment never
gets executed.  The output of SET clearly shows that there is no DJGPP
variable in the environment.  Without that variable, GCC won't be able to 
find files and directories it needs.

If the above doesn't help, set DJGPP from the DOS prompt inside the DOS 
box, then see if GCC succeeds to compile.  If it does, you should 
investigate further what is the reason for DJGPP to not be set in the 
environment at boot time.

- Raw text -


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