Difference between revisions of "Glib2"

From CBLFS
Jump to navigationJump to search
(Multilib)
(Multilib)
Line 37: Line 37:
 
Compile the package:
 
Compile the package:
  
  USE_ARCH=32 CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
+
  USE_ARCH=32 NM=nm CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
 
  make
 
  make
  

Revision as of 19:31, 13 December 2008

Download Source: http://ftp.gnome.org/pub/GNOME/sources/glib/2.40/glib-2.40.0.tar.bz2

Introduction to Glib2

GLib is the low-level core library that forms the basis of GTK+ (Gtk2) 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.

Project Homepage: http://www.gtk.org/

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

USE_ARCH=32 NM=nm CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
make

Install the package

make install

N32

Compile the package:

USE_ARCH=n32 NM=nm CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

USE_ARCH=64 CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Programs: glib-genmarshal, glib-gettextize, glib-mkenums, and gobject-query
Installed Libraries: libglib-2.0.{la,so}, libgobject-2.0.{la,so}, libgmodule-2.0.{la,so} and libgthread-2.0.{la,so}
Installed Directories: /usr/include/glib-2.0, /usr/lib/glib-2.0, /usr/share/glib-2.0, /usr/share/gtk-doc/html/glib, and /usr/share/gtk-doc/html/gobject

Short Descriptions

glib-genmarshal is a C code marshaller generation utility for GLib closures.
glib-gettextize is a variant of the gettext internationalization utility.
glib-mkenums is a C language enum description generation utility.
gobject-query is a small utility that draws a tree of types.
GLib libraries contain a low-level core library for the GIMP Toolkit.
Retrieved from "?title=Glib2&oldid=16272"