From: "Dennis Cartwright" Newsgroups: comp.os.msdos.djgpp Subject: Newbie question Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Thu, 8 May 2003 10:54:52 -0700 NNTP-Posting-Host: 68.108.33.250 X-Complaints-To: abuse AT cox DOT net X-Trace: fed1read02 1052416473 68.108.33.250 (Thu, 08 May 2003 13:54:33 EDT) NNTP-Posting-Date: Thu, 08 May 2003 13:54:33 EDT Organization: Cox Communications To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've installed DJGPP on my XP system, I've set the following 2 variables: set DJGPP=C:\DJGPP\DJGPP.ENV set PATH=C:\DJGPP\BIN;%PATH% and rebooted. I'm working at the command line, prefer for now not to use a development environment, and I'm compiling and linking like this: gxx -o prog.exe prog.cpp Every thing works fine except that I can only compile in the djgpp/bin directory. Even if I add a folder like djgpp/bin/myfolder, I can't compile in it. Is there any way I can compile outside this particular directory without changing path variables again? I've searched the faq and browsed elsewhere to no avail, and now I humbly submit my question here. Thanks for any help. Dennis