[java-gnome-hackers] Compiler optimizations
Brought to you by:
afcowie
|
From: Andrew C. <an...@op...> - 2011-02-18 02:15:01
|
Does anyone know why we aren't passing -O2 to gcc when we build
java-gnome'c C files?
worthil ~/workspace/java-gnome $ V=1 make
build/faster
GCC generated/bindings/org/gnome/gtk/GtkButton.c
/usr/bin/gcc-4.4 -g -Wall -fPIC
-I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux
-Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
-Werror-implicit-function-declaration -Wfatal-errors -Isrc/jni
-Itmp/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libxml2
-I/usr/include/gtksourceview-2.0 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/gtkspell-2.0
-I/usr/include/unique-1.0 -I/usr/include/enchant
-I/usr/include/librsvg-2.0 -o
tmp/objects/org/gnome/gtk/GtkButton.o -c
generated/bindings/org/gnome/gtk/GtkButton.c
worthil ~/workspace/java-gnome $
We've got -g, should that be -ggdb -O2 instead?
AfC
Sydney
|