gcc - What to replace -static-libgcc with when using clang? -


i'm trying port macintosh osx clang provided instead of gcc. when building on linux gcc, pass -static-libgcc gcc.

what nearest equivalent might replace option when using clang?

probably has been sorted out, sake of completeness,
-- cannot not link system libraries statically on mac, till work of compiling crt0.o.

so, remove flag.

please see

stackoverflow.com/questions/5259249/creating-static-mac-os-x-c-build

https://developer.apple.com/library/mac/qa/qa1118/_index.html


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -