glib(Under construction)

GLib is the low-level core library that forms the basis of GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

Compilation (V2.34.0)

          # AIX 5.3, C 8.0   
configure --prefix=/tmp/libffi-3.0.9 CC=cc CFLAGS="-O2 -D_LARGE_FILES -D_THREAD_SAFE -qcpluscmt" --enable-static --disable-shared
configure --prefix=/tmp/libffi-3.0.12 CC=cc CFLAGS="-O2 -D_LARGE_FILES -D_THREAD_SAFE" --enable-portable-binary --enable-static --disable-shared
          # AIX 6.1, C 9.0   
configure --prefix=/tmp/libffi-3.0.12 CC=cc CFLAGS="-O2 -qarch=pwr3 -D_LARGE_FILES -D_THREAD_SAFE" --enable-portable-binary --enable-static --disable-shared

          # AIX 6, C 9.0   
configure --prefix=/tmp/glib-2.34.0 CC=cc CXX=xlC CFLAGS="-O2 -D_LARGE_FILES -D_THREAD_SAFE -I/bio/local/../61/include" LDFLAGS="-L/bio/local/../61/lib" LIBS="-lz" --with-libiconv=native --enable-static --disable-shared

Compilation (V2.20.x)

In configure: disable
CPPFLAGS="$CPPFLAGS -pthread"
          # AIX 6.1/7.1, C 9.0/12.1   
configure --prefix=/tmp/glib-2.20.5 CC=cc CXX=xlC CPPFLAGS="-D_LARGE_FILES -D_THREAD_SAFE -I/bio/local/../61/include -qcpluscmt" CFLAGS="-O2" LDFLAGS="-L/bio/local/../61/lib" LIBS="-lz -lintl -lpthread" --enable-threads --with-libiconv=native --enable-static --disable-shared

Compilation (V2.14)

Needs pkgconfig, gettext.
Fix configure
rm -f 
# =>
rm -rf conftest*
Then
./configure --prefix=/tmp/glib-2.14.4 CC=gcc CFLAGS=-O2
make
make install

Last update: 17-Jun-2013, M.Kraemer

Impressum Data privacy protection