From: "Omar Morales" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP and WindowsXP Date: Mon, 3 Mar 2003 18:48:00 +0100 Organization: Tiscali Spa Lines: 72 Message-ID: References: NNTP-Posting-Host: ppp-62-11-85-154.dialup.tiscali.it X-Trace: lacerta.tiscalinet.it 1046713829 22849 62.11.85.154 (3 Mar 2003 17:50:29 GMT) X-Complaints-To: newsadmin AT it DOT tiscali DOT com NNTP-Posting-Date: 3 Mar 2003 17:50:29 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans, many thanks for the hints. "Hans-Bernhard Broeker" ha scritto nel messaggio news:b3ndfi$a26$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE... > Omar Morales wrote: > > > Does anybody knows how to make DJGPP run succesfully in a Windows XP Home > > DOS shell, for a non "system administrator" account? > > This consists of two largely separate issues: > > 1) DOS support on XP is subtly broken in many "interesting" ways, for which > you need an updated version of DJGPP to take care of. Search this > newsgroup and you'll find lots of references to that. I'am working with an updated version of DJGPP. > 2) Setting up DJGPP as non-admin on an NT-style box means you have to > avoid any changes to the master environment. That still leaves two > choices: > > * Change the individiual user's private environment variables instead. > On XP, you would to to Control Panel --> System --> Extended and > select "Environment". Add the environment variables in the upper > pane, which shows the "user environment". The drawback: the change > is global to all programs run by that user --- some may not like the > PATH change, esp. other compilers installed on the same machine will > become confused. I've tried this way before asking for help. > > * Put the two relevant 'set' commands into a batch file, let's call it > "setvars.bat", and create a desktop link with the commandline > > %SystemRoot%\system32\cmd.exe /k c:\djgpp\setvars.bat > > Whenever you want to work with DJGPP, open this link and it'll create > a command line shell set up for it. It's a good idea to give this > link a keyboard shortcut (I usually choose Alt+Shift+D). If you use > more than one compiler toolchain, this method is the only somewhat > workable one. You'll have to create one such link for each of them. > The drawback is that DJGPP-compiled programs executed from outside that > shell will not see the DJGPP environment variable, which they may need > for proper operation. I will experiment this. > > The best solution may actually be a combination of the two: put > "DJGPP=c:\djgpp\djgpp.env" in the user's environment settings, and > leave the PATH change to the batch file. > > Or have a word with that admin to allow DJGPP=... in the global > environment. In a way, I am the administrator ......... I'am migrating my productive environment from my Wintel 98 to a new Wintel XP (I'am a sw testing free lancer). I'll let you know how is, Omar.---