Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2417 Discussions

Compile options for Windows+gcc are terrible! Why?!?!

Bihler__Benjamin
Beginner
171 Views

The compile options for release builds with gcc on Windows are "-g -O2" (check line 88 of the file ".../build/windows.gcc.inc"). Why no link-time optimization, why not turn on all optimizations? And even more important: why add debug information for release builds?!?!

I would propose the options "-O3 -flto". Of course everyone can patch his file before compiling with gcc on Windows.

Benjamin

0 Kudos
0 Replies
Reply