7/8/2023 0 Comments X plane 11 key![]() The order might matter to a small degree, but I’m not positive on that). What you do is add -nostdlib to your compile and link flags then manually link to crt1.o, crti.o, crtbegin.o, libc++.a, and crtend.o (use -v on the linker to see how this is done normally. From what I can tell Clang supports this flag as well but it doesn’t work for libc++. One nice thing about GCC and libstdc++ is there’s actually a flag for this -static-libstdc++ which is mostly useful for if you want to use a new compiler while still supporting older distributions of Linux (I personally do this to distribute ZDoom for PowerPC Macs now that we use C++11/14, but the same goes for Linux). ![]() It is possible to statically link libc++ although I’m not sure I would recommend it over just documenting the requirement.
0 Comments
Leave a Reply. |