I have a simple program
#include int main(){ g_print(\"hallo\\n\"); }
and try to compile it on the embedded system (Odroid
Ok found a solution
gcc -o main main.c `pkg-config --libs --cflags glib-2.0`
works, but I don't know why on my X64 linux system it worked also the other way.