Mail Archives: djgpp/1997/10/07/15:16:20
Halomist <halomist AT aol DOT com> wrote:
> i can't even compile a simple
> program with gcc.
> i type "gcc myprog.c -o myprog.exe"
> and it tells me that it can't find the various *.h files...
> so i moved the stdio.h file from the "includes" directory
> to the one gcc is in... and it still doesn' work...
> i had to move cwsdpmi.exe and cpp.exe into the same directory as
> gcc to get to this point.... did i install the whole thing wrong or what?
> someone please help...
> thanks.
Obviously your setup is incorrect. If you unpacked the ZIP files correctly,
'cwsdpmi.exe' and 'cpp.exe' would -already- have been with 'gcc.exe'. If
you are using pkunzip, make sure to stick the '-d' switch in, like:
pkunzip -d djdev201.zip
To create the directory structure. Second, if your includes are even in the
right place, you need to add the line:
set DJGPP=C:\DJGPP\DJGPP.ENV
somewhere to your AUTOEXEC.BAT file, so that DJGPP can know where to find
its files. Note that if you installed DJGPP somewhere else (D:\DJ\ or
whatever) then substitute the path accordingly.
This is all expressed in the README.1ST file.
--
[- firewind -]
[- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -]
[- "You're just jealous because the voices talk to -me-." -]
- Raw text -