Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Add additional directories to PATH and LD_LIBRARY_PATH at startup: Page 1 of 2 (2 Items)
   
Add additional directories to PATH and LD_LIBRARY_PATH at startup  
Hello,

My target system is a PC running Neutrino natively, but I also want to do this in a vmware image.

I am trying to add two entries to the environment variables PATH and LD_LIBRARY_PATH so that I can keep my binaries and 
libraries in separate locations from the normal /bin and /lib paths.

I have read the help on "How Neutrino Starts" and understand that I cannot use rc.local to add these as a different 
shell gets started by init.

I could do this in the .profile of the user and export it, but I don't think this allows Momentics to see the libs when 
debugging or running.

Is there someplace in the startup scripts (before someone logs in) that I can set these variables and have them be 
effective system wide?

Thanks for the help.

- Mike