discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: environment variable issues... (windows problem)


From: Lloyd Dupont
Subject: Re: environment variable issues... (windows problem)
Date: Thu, 30 Jun 2005 15:00:37 +1000

Problem..... probably understood..... :/
my code link with libgnustep base, thus initializing all the classes....
the environment variables are cached when the ProcessInfo class is launched...
 
so when I update it, it's too late... :(
mmhh... :/
 
well, trying to work around that...
----- Original Message -----
Sent: Thursday, June 30, 2005 2:39 PM
Subject: environment variable issues... (windows problem)

I have a program which call
putenv("GNUSTEP_SYSTEM_ROOT=some/valid/path");
early.
 
later on I call [NSApplication sharedAplication]
and on the command line I get printed the following:
Warning - GNUSTEP_SYSTEM_ROOT is not set - using ~C/Tmp/oIwTvbJ63H/GNUstep-i3kU/System
 
could it be something like static gnustep-base is statically linked to C Runtime?
is which case what is the work around?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]