Good to know it's obsolete, thanks. Meanwhile I realized that the error that began this discussion was that we didn't parse -s -std=c++03 properly, which is a very specific bug due to our -s KEY=VALUE notation. I fixed that on incoming.
On Mon, Oct 19, 2015 at 1:17 AM, Floh <[email protected]> wrote: > 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]> 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. > -- 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.
