Comparison QB64 compiled with gcc optimizations and without
#4
Most interesting. The file (for Windows) is:
.\internal\c\makeline_win.txt

And the optimization parameter may be inserted as follows:
c_compiler\bin\g++ -s -Ofast -Wfatal-errors -w -Wall qbx.cpp -lws2_32 -lwinspool parts\core\os\win\src.a -lopengl32 -lglu32 -lwinmm -lgdi32 -mwindows -static-libgcc -static-libstdc++ -D GLEW_STATIC -D FREEGLUT_STATIC -lksguid -lole32 -lwinmm -ldxguid -o ..\..\

That an "O", not a zero.

My chess program went from about 1 to 1.8 million moves per second.

Does anyone know a downside to doing this?
Reply


Messages In This Thread
RE: Comparison QB64 compiled with Ofast and without - by ChiaPet - 05-07-2022, 05:19 PM



Users browsing this thread: 22 Guest(s)