Mail Archives: djgpp/2003/03/03/13:00:25
Hans,
many thanks for the hints.
"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> ha scritto nel
messaggio news:b3ndfi$a26$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...
> Omar Morales <omar DOT morales AT computer DOT org> 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.---
- Raw text -