Live data from Hacker News

What Are Your GCC Flags?

blog.httrack.com

1–10 of 117 posts

Re: What Are Your GCC Flags?

#7

-fno-exceptions I don’t like C++ exceptions. And we don’t use them where I work And none of your code uses the STL nor third party libraries that might throw exceptions either, right [1] [1] "Doing without" http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_excepti...

Most code can use -fno-rtti Real Time Type Info

Re: What Are Your GCC Flags?

#10

    -Wl,-O1 Did you know that you also have an optimization flag for the linker ? Now you know!
Ages ago the linker on SUN used to compile templates. What is GCC doing/using this flag for?
Post reply on HN