At least the latest Apple clang says that the option is obsolete: > clang test.c -s -o test ld: warning: option -s is obsolete and being ignored > clang --version Apple LLVM version 7.0.0 (clang-700.0.72) Target: x86_64-apple-darwin15.0.0 Thread model: posix
Not sure what LLVM version this is based on though. Am Montag, 19. Oktober 2015 01:23:09 UTC+2 schrieb キャロウ マーク: > > > On Oct 19, 2015, at 1:57 AM, Alon Zakai <[email protected] <javascript:>> > wrote: > > Very strange, then I wonder why clang gives me that "clang-3.5: warning: > argument unused during compilation: '-s'" warning? > > > Probably because “-s” is only relevant during linking. Symbols can only be > stripped at the conclusion of linking the final executable. > > Regards > > -Mark > > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
