On 2/8/2012 11:14 AM, Paul H. Hargrove wrote:


On 2/8/2012 3:25 AM, TERRY DONTJE wrote:
+ Building w/ Solaris Studio 12.2 or 12.3 on Linux x86-64, with "-m32" required setting LD_LIBRARY_PATH.
Can the LD_LIBRARY_PATH be substituted with a rpath change in LDFLAGS of the build?

Terry sent more specific instructions for that offlist, and I am testing now.


I can confirm that both Solaris Studio 12.2 and 12.3 work with {C,CXX,F,FC}FLAGS=-m22 with the addition of LDFLAGS="-L/lib32 -R/lib32" on the configure line, as suggested by Terry.

I went to try 12 and 12.1 for good measure, but found that their C++ compilers choke on /usr/include/stdlib.h. So, since the original error was a c++ one, I didn't pursue them any further.

-Paul

--
Paul H. Hargrove                          phhargr...@lbl.gov
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to