http://www.perlmonks.org?node_id=671586


in reply to Re: RFC: Setting up a minGW compiling envronment for Perl 5.10
in thread RFC: Setting up a minGW compiling envronment for Perl 5.10

A Quick recap for those who can't be bothered drilling down through the reply tree to it's darkest depths. We have successfully compiled Glib by first renaming all the library files s/.lib/.a/i (here's a program), then appending the Glib libraries to EXTRALIBS and LDLOADLIBS in the Makefile. This is dispite Makefile.PL being given this information by CPAN and MakeMaker.

Hence for any required Glib|Gtk library file, $ENV{'GTK_BASEPATH'}.'\lib\'.$lib_file has to be appended to the end of LDLOADLIBS in the Makefile.

Replies are listed 'Best First'.
Re^3: RFC: Setting up a minGW compiling envronment for Perl 5.10
by Anonymous Monk on Mar 03, 2008 at 10:35 UTC
    perl -V:lib_ext

      Which results in the output lib_ext='.a'; which we knew all along. Do you have a suggestion for adding '.lib', '.Lib', and '.LIB' to this setting? These are common variants in library distributions.