www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/13/04:57:12

Date: Fri, 13 Mar 1998 11:50:15 +0200 (EET)
From: Andris Pavenis <pavenis AT latnet DOT lv>
To: crazor AT mail DOT execpc DOT com
cc: djgpp AT delorie DOT com
Subject: Re: Set DJGPP.ENV
In-Reply-To: <6eaqbq$u22$1@nnrp1.dejanews.com>
Message-ID: <Pine.GSO.3.96.980313114003.11303A-100000@sisenis>
MIME-Version: 1.0


On Fri, 13 Mar 1998 crazor AT mail DOT execpc DOT com wrote:

> My DJGPP can't find C++ header files and when I checked at DOS prompt
> by typing set > env.1st , I didn't see anything. I have put
> 
> set DJGPP=D:\DJGPP\DJGPP.ENV at autoexec.bat but it still doesn't work.
> 
> Here is my autoexec.bat
> 
> @ECHO OFF
> PROMPT $p$g
> PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;D:\
> SET DJGPP=D:\DJGPP\DJGPP.ENV
> set PATH=D:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;
> SET TEMP=C:\DOS
> SET BLASTER=A220 I5 D1 H5 P330 T6
> SET SOUND=C:\SB16
> C:\SB16\SB16SET /M:220 /VOC:220 /CD:220 /MIDI:220 /LINE:220 /TREBLE:0
> C:\SB16\SBCONFIG.EXE /S
> rem - By Windows Setup - C:\WINDOWS\COMMAND\mscdex /d:MSCD001 /m:10
> rem C:\DOS\MSCDEX.EXE /D:ADVCD0
> 
> What could be my mistake? Please send answer by email. Thanks!!
> 

You can also try 
   gcc -c -v somefile.cc -o somefile.o
(replace name with name of actual cc file). As the result You'll get 
information where gcc is looking for include files. Comparing the
output with actual location of these files perhaps can help.
There is no visible problem in AUTOEXEC.BAT so more information is
neaded.

Andris

- Raw text -


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