On Saturday 18 July 2009 11:50:43 Andreas Pakulat wrote: > On 18.07.09 03:01:31, Aleix Pol wrote: > > hi, > > I've hit a problem when compiling a KDevelop test using gold. If we use > > the usual ld it works fine but with gold it requires all the libraries to > > be specified. As for what Andreas told me, it looks like linking against > > the language would be enough to get the links for the shell and project > > (since language links both of them), but my host seems to disagree. > > Actually the other way around, shell links against language and project, > so linking the test against shell should be enough due to the > link-interface-libs. > > A while back I've posted a simple cmake project that tries to do > something similar, but Andreas Hartmetz (the one who did use gold back > then and had problems with kdevelop) didn't try it yet with gold. > > See: http://lists.kde.org/?l=kde-buildsystem&m=124527551109094&w=2 > Would be cool if you could test that, if it works, we have a problem > somewhere in kdevplatform, though I'm not sure where :( >
Unless my installation is broken here are the results : --> gcc -v gcc version 4.4.0 [gcc-4_4-branch revision 149173] (SUSE Linux) `--> ld -v GNU gold (GNU Binutils; openSUSE Factory 2.19.51.20090527-9.18) 1.9 Linking C executable app cd /home/krop/kde/src/testcmake_link_interface/build/executable && /usr/bin/cmake -E cmake_link_script CMakeFiles/app.dir/link.txt --verbose=1 /home/krop/bin/gcc -Wall -Wextra -pedantic -fPIC CMakeFiles/app.dir/main.o -o app -rdynamic ../baz/libbaz.so ../bar/libbar.so ../foo/libfoo.so remake[2]: Leaving directory `/home/krop/kde/src/testcmake_link_interface/build' /usr/bin/cmake -E cmake_progress_report /home/krop/kde/src/testcmake_link_interface/build/CMakeFiles 4 [100%] Built target app
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
