At 05:23 PM 6/20/2006, Dong Luo wrote: >-fPIC and -rdynamic are not flags for xlC. By defining >CXX to gxlc++ (which suppose to translate the flags), >the ./bootstrap finished without problem. >However, the next step of type gmake as suggested >give: >Linking CXX executable >../../bin/testCommandLineArguments >/opt/ibmcmp/vacpp/7.0/bin/xlC: 1501-216 command option >-rdynamic is not recognized - passed to ld >/usr/bin/ld: bad -rpath option >gmake[2]: *** [bin/testCommandLineArguments] Error 1 >gmake[1]: *** >[Source/kwsys/CMakeFiles/testCommandLineArguments.dir/all] >Error 2 >gmake: *** [all] Error 2 > >Is there a way to let gmake use gxlc++ instead of xlC?
Just set CXX and CC environment variables before running bootstrap: export CXX=gxlc++ export CC=gxlc make sure you start with a clean build tree. -Bill _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
