tried today on different machine, still no luck
these are the commands I used:
env PATH="/usr/i586-mingw32msvc:$PATH" CC=i586-mingw32msvc-gcc
CFLAGS="-O2 -g" \
/home/aash29/cpp/agar-trunk/configure \
--srcdir=/home/aash29/cpp/agar-trunk/ \
--host=i586-mingw32msvc \
--prefix=/home/aash29/cpp/agar-cross/ \
--disable-threads --without-{sdl,freetype,gl}
env PATH="/usr/i586-mingw32msvc:$PATH" CC=i586-mingw32msvc-gcc
CFLAGS="-O2 -g" make
env PATH="/usr/i586-mingw32msvc:$PATH" CC=i586-mingw32msvc-gcc
CFLAGS="-O2 -g"
make install
i586-mingw32msvc-gcc `/home/aash29/cpp/agar-cross/bin/agar-config
--cflags` -o
foo foo.c `/home/aash29/cpp/agar-cross/bin/agar-config --libs`
an the error is :
/home/aash29/cpp/agar-cross//lib/libag_gui.a: could not read symbols:
Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html