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