On Tue, 30 Dec 2008, Thomas Stover wrote:
> /opt/crosscompilers/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/include/glib-2.0/glib/gtypes.h:34:24:
> error: glibconfig.h: No such file or directory
>
> I can't find a glibconfig.h anywhere. Not even in the glib build tree.
It's not in the glib build
Ok so in the setup I've got, this works:
$PKG_CONFIG_PATH=/opt/crosscompilers/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/lib/pkgconfig/
/opt/crosscompilers/gcc-4.0.1-glibc-2.3.5/bin/arm-unknown-linux-gnu-gcc
`pkg-config --cflags glib-2.0` glibtest.c `pkg-config --libs glib-2.0`
Which it is