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: Marc Brünink
Subject: Re: environment variable issues... (windows problem)
Date: Thu, 30 Jun 2005 09:31:00 +0200


On Donnerstag, Jun 30, 2005, at 07:00 Europe/Berlin, Lloyd Dupont wrote:

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...

Perhaps you should write a C program, which sets the enviroment and after that launch the gnustep programm with ShellExecute(..). I did it once, but I didn't test it enough to be sure it'll work.


regards
Marc



----- Original Message -----
From: Lloyd Dupont
To: GNUstep Discussion
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?

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep





reply via email to

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