- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to get rid of these 2 "unused dependencies" that literally show up in all the executables I have compiled with icc/icpc
For example, the simple "time" debian package:
richard@yenforyang:~/debs/time/time-1.7$ ldd -u -r /usr/bin/time
Unused direct dependencies:
/lib/x86_64-linux-gnu/libgcc_s.so.1
/lib/x86_64-linux-gnu/libdl.so.2
Installing the official stable release of the time package gives me no unused direct dependencies at all.
Note that I am using linker options like -Wl,--as-needed,--gc-sections (as there would be way more unused dependencies if I didn't, like "libiomp5.so" for instance)
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try -static-libgcc to see if you can get rid of GCC dependency?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page