On 01/20/2015 04:48 PM, Robert Dailey wrote:
On Mon, Jan 19, 2015 at 2:12 PM, Nils Gladitz <nilsglad...@gmail.com> wrote:
On 19.01.2015 21:08, Robert Dailey wrote:
I have done this and it fails while linking the test program during
configuration:
/usr/bin/ld: cannot find crtbegin.o: no such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
Any ideas?
Try installing the g++-multilib package.
Installed this as you instructed, deleted CMakeCache.txt and re-ran
generation. Got the errors below:
/usr/bin/ld: skipping incompatible
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc
From the diagnostic it looks like clang shares gcc 4.8's libraries.
Is the system wide default gcc 4.8 as well?
e.g. does "gcc --version" report 4.8.x?
If it isn't installing g++-4.8-multilib might help (If 4.8 is the
default g++-multilib will already have installed it).
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake