Mail Archives: djgpp/1998/03/13/04:57:12
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 -