You currently can't set environment variables for STAFEXECPROXY. Please open a feauture for this support (http://sourceforge.net/tracker/?func=add&group_id=33142&atid=407384). We should be able to allow something like OPTION EXECPROXYENV=.... and then pass the environment variables in the the STAFProcessStartInfoLevel1 structure when calling STAFProcessStart2 to start the STAFExecProxy...
Please note that the patch posed on 30/04/2009 supersedes the earlier patch.
I put this work into public domain and agree to be published with the same copyright terms that STAF currently is under.
-- Correspondence from staf-users list at 30/04/2009 ----
Semih,
Thank you for the patch to compile STAF with the Sun Studio C++ compiler. I appreciate the work you have done to debug the issues you saw and come up with fixes. Also, thank you for explaining you it is important for you to be able to compile STAF using the Sun Studio C++ compiler instead of gcc.
If I understand you...
Followings are the steps and changes to compile and install STAF with Sun Studio C/C++ compilers on Solaris operating system. I'm posting them to the list since they might be useful to others. I hope to see Sun's C++ compiler-Solaris10 combination is added to STAF's supported platforms as Sun CC has excellent code generation characteristics and comes with extensive suite of development tools...