- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I get ICC to generate direct calls to strcpy, memcpy, etc. It is currently generating calls to dylb_stub_strcpy, etc. I'm building with -i-statc -static-libgcc.
I used to build with -static-libcxa, but that's gone now...
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler should warn if you misspell options like -i-static or otherwise supply unrecognized options.. I don't recognize your terminology "direct call" as meaning static link. If you mean to avoid linking special Intel library functions like intel_fast_memcpy(); you could arrange to avoid using the icc/include/string.h definition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ummm, what unrecognized options?
I want to call strcpy in my executable - not in a separate dylib. If I use -static-libgcc, those should be internal calls - I don't want to use dylib calls?
I'm fine using intel_fast_memcpy() - but I can't get it to generate those calls either...
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