Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14266
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: Fri Jul 18 05:42:05 CEST 2025

Total time taken to generate the page: 0.04056 seconds