in reply to Makefile.PL for Windows, Darwin

I think you better ask Config about what the LDDflags, CCflags and other flags for the C compiler should be, for the particular version of Perl your Makefile.PL is run under, instead of hardcoding some wild guesses.

Update: Actually, it seems that Config doesn't really talk about what is available. Config.pm makes the output of perl -V available as a convenient hash.

Replies are listed 'Best First'.
Re^2: Makefile.PL for Windows, Darwin
by Anonymous Monk on Mar 20, 2011 at 18:02 UTC
Re^2: Makefile.PL for Windows, Darwin
by geoffleach (Scribe) on Mar 22, 2011 at 04:46 UTC
    I hadn't realized that. If true, it would be ideal. Hardcoding options is indeed a very bad idea.

    The POD for Config.pm's cc* variables is somewhat obscure. Probably worth a try.

    Thanks.