Problems when compiling glib 2.4.0 with mingw



Hello

I am trying to compile glib 2.4.0 with mingw. I have read the README.win32
file and I have invoked "Tor's configure" : 

CC='gcc -mcpu=pentium3' CPPFLAGS='-I/target/include' 
  CFLAGS=-O3 LDFLAGS='-L/target/lib' ./configure --with-libiconv 
  --disable-gtk-doc --prefix=/target --host=i386-pc-mingw32 

It compiles well, but it can not link:

*** Warning: This system can not link to static lib archive
../glib/libglib-2.0.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

Could someone help me ?

Thank you !

Vincent TORRI




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]