-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? --- "William A. Hoffman" <[EMAIL PROTECTED]> wrote: > At 12:48 PM 6/20/2006, Dong Luo wrote: > >./bootstrap stopped at here: > > > >/opt/ibmcmp/vacpp/7.0/bin/xlC -fPIC > >"CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.o" > > >-o cmTryCompileExec -rdynamic > >/opt/ibmcmp/vacpp/7.0/bin/xlC: 1501-216 command > option > >-fPIC is not recognized - passed to ld > >/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[1]: *** [cmTryCompileExec] Error 1 > >gmake[1]: Leaving directory > >`/projectnb2/apoai/cmake-2.4.2/CMakeFiles/CMakeTmp' > >gmake: *** [cmTryCompileExec/fast] Error 2 > > You need to create a Linix-xlc.cmake file for the > Modules/Platform > directory. It needs to change the values found in > Modules/Platform/Linux.cmake. > If you get it working, I can put the files into > CMake. > > Thanks. > > -Bill > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
