Mail Archives: djgpp/2002/01/27/04:45:24
Hello Snthnm,
Saturday, January 26, 2002, 10:16:00 PM, you wrote:
Scc> Hi
Scc> I'm having a real beginner problem : I installed DJGPP on my C drive,
Scc> typed-in my first
Scc> 'Hello World' C++ program in my note pad. I then saved it with a .cpp
Scc> extension, and
Scc> tried to compile it. Here's what the error message states " gcc.exe :
Scc> Environment
Scc> variable DJGPP not defined ". What am I supposed to do? Save my soul please!
Scc> Thanks in advance, could you e-mail me? I'm a novice.
Scc> Regards
Scc> Gopal
simply read the FAQ but to help you a litle just define the enviroment
variables which DJGPP will look for at start-up
PATH=C:\DJGPP\BIN;%PATH%
SET DJGPP=C:\DJGPP\DJGPP.ENV
Remember the different OSes types of doing it, if under w95, 95, Me
and reboot the darn machine, add those to Autoexec.bat, if under NT set them on Start > Control
panel > System > Enviroment variables
that'll help you for sure
--
Best regards,
David mailto:Basura AT skynetbbs DOT d2g DOT com
- Raw text -