I am trying to build a project on Mac OS X using clang and it fails on linking step with ld: unknown option: --no-undefined
, which is meant to built with gcc.
What's the clang equivalent for this option? (Please, don't advise to use gcc instead of clang.)
Also, a more generic question, is there any resource where one can find some kind of a "mapping" between gcc and clang (linker) options differences?
Thank you.