I am using clang++ as the linker with both Ubuntu Linux and Mac OS X. The Ubuntu version invokes collect2, which has parameters –whole-archive and –no-whole-archive to force linking libraries, whereas the Mac OS X version invokes ld (llvm based), which has -force_load for the same purpose.
This entry was posted on Friday, January 20th, 2012 at 8:55 am and is filed under C++, System Config Skill. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.