U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » UPP_MAIN__ is not exported to env in linux
Re: UPP_MAIN__ is not exported to env in linux [message #6323 is a reply to message #6322] Mon, 06 November 2006 13:24 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
zsolt wrote on Mon, 06 November 2006 07:08


Is this intentional or a bug?



Bug - not yet implemented...

Maybe you can help, see ide/Host.cpp line 253, instead of execvp there should be execvpe with the new environment.

try something like

Buffer<char> env(environment.GetCount() + 1);
memcpy(env, environment, environment.GetCount() + 1);
if(pid == 0)
    execvpe(args[0], args, env);


and report results Wink

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to compile thrid-party packages?
Next Topic: Slow Linking under Linux
Goto Forum:
  


Current Time: Thu Jun 11 19:48:18 GMT+2 2026

Total time taken to generate the page: 0.01508 seconds