I sent this message a few days ago, but hasn't reached the list I think:

hi,

I experimented on windows with removing some libs that seemed unnecessary,
and I ended with this line in my Makefile;


C_LIBS     = kernel32.lib ws2_32.lib msvcrt.lib

which is rather shorter than:

C_LIBS     = oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.lib

Particle mentioned that this information (what libs to link) is probably
coming from Perl's config.
I'm sending this as a TODO, so this information won't get lost.

best,
kjs

On 5/20/07, Ron Blaschke <[EMAIL PROTECTED]> wrote:

Klaas-Jan Stol wrote:

> recently a patch was supplied and applied for odbc32.lib being linked
into
> parrot.
>
> This file is not needed for Parrot, but it seems it is still linked (at
> least, here on my machine, winxp).
>
> \parrot\library\PAST-pm.pbc
>        C:\Perl\bin\perl.exe -e "chdir shift @ARGV;system 'nmake',
> '-nologo', @A
> RGV; exit $? >> 8;" compilers\json
>        link
-out:.\pbc_merge.exe  src\pbc_merge.obj  src\parrot_config.obj
> lib
> parrot.lib  oldnames.lib kernel32.lib user32.lib gdi32.lib
> winspool.libcomdlg32
> .lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
> uuid.libws2_3
> 2.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
> -nologo
> -nodefaultlib -debug     -machine:x86  -debug
>
> Check the second last line...
> Should it be there?

From your command line you seem to refer to Visual C++, but patch 42950
looks like it's intended for MinGW.

For Visual C++ the libraries are pulled in from your Perl
(see perl -V:libs).

Ron

Reply via email to