You are viewing the version of this documentation from Perl 5.32.1. View the latest version

CONTENTS

NAME

ExtUtils::MM_Win32 - methods to override UN*X behaviour in ExtUtils::MakeMaker

SYNOPSIS

use ExtUtils::MM_Win32; # Done internally by ExtUtils::MakeMaker if needed

DESCRIPTION

See ExtUtils::MM_Unix for a documentation of the methods provided there. This package overrides the implementation of these methods, not the semantics.

Overridden methods

dlsyms
xs_dlsyms_ext

On Win32, is .def.

replace_manpage_separator

Changes the path separator with .

maybe_command

Since Windows has nothing as simple as an executable bit, we check the file extension.

The PATHEXT env variable will be used to get a list of extensions that might indicate a command, otherwise .com, .exe, .bat and .cmd will be used by default.

init_DIRFILESEP

Using \ for Windows, except for "gmake" where it is /.

init_tools

Override some of the slower, portable commands with Windows specific ones.

init_others

Override the default link and compile tools.

LDLOADLIBS's default is changed to $Config{libs}.

Adjustments are made for Borland's quirks needing -L to come first.

init_platform

Add MM_Win32_VERSION.

platform_constants
specify_shell

Set SHELL to $ENV{COMSPEC} only if make is type 'gmake'.

constants

Add MAXLINELENGTH for dmake before all the constants are output.

special_targets

Add .USESHELL target for dmake.

static_lib_pure_cmd

Defines how to run the archive utility

dynamic_lib

Methods are overridden here: not dynamic_lib itself, but the utility ones that do the OS-specific work.