Michael Cranston
|
Add additional directories to PATH and LD_LIBRARY_PATH at startup
|
Michael Cranston
05/21/2008 4:40 PM
post8353
|
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
|
|
|