Maybe --host should be something like i586-pc-mingw32? The bundled
libtool may not recognize your platform. You can always specify a
third-party libtool with --with-libtool.

On Tue, May 04, 2010 at 06:45:10AM +0000, Ash wrote:
> 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
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to