[gambit-list] --enable-c-opt[=level]

Marc Feeley feeley at iro.umontreal.ca
Sat Apr 28 22:35:17 EDT 2012


A few months ago I changed the configure script so that it passes the option -O2 to the C compiler when compiling the Gambit source code.  Previously the option -O1 had been used.

I have received some reports that on some systems the use of -O2 causes problems, either very long compile times or crashes (my next message will give some more information about this).

The configure script has now reverted to using -O1 but I have added a configure option to select the optimization level.  So a

   ./configure

will use -O1 and a

   ./configure --enable-c-opt

will use -O2.  A specific optimization level can be requested by giving the level, i.e.

   ./configure --enable-c-opt=-O3

Marc




More information about the Gambit-list mailing list