1ExtUtils::MM_Win32(3) User Contributed Perl DocumentationExtUtils::MM_Win32(3)
2
3
4
6 ExtUtils::MM_Win32 - methods to override UN*X behaviour in
7 ExtUtils::MakeMaker
8
10 use ExtUtils::MM_Win32; # Done internally by ExtUtils::MakeMaker if needed
11
13 See ExtUtils::MM_Unix for a documentation of the methods provided
14 there. This package overrides the implementation of these methods, not
15 the semantics.
16
17 Overridden methods
18 dlsyms
19 xs_dlsyms_ext
20 On Win32, is ".def".
21
22 replace_manpage_separator
23 Changes the path separator with .
24
25 maybe_command
26 Since Windows has nothing as simple as an executable bit, we check
27 the file extension.
28
29 The PATHEXT env variable will be used to get a list of extensions
30 that might indicate a command, otherwise .com, .exe, .bat and .cmd
31 will be used by default.
32
33 init_DIRFILESEP
34 Using \ for Windows, except for "gmake" where it is /.
35
36 init_tools
37 Override some of the slower, portable commands with Windows
38 specific ones.
39
40 init_others
41 Override the default link and compile tools.
42
43 LDLOADLIBS's default is changed to $Config{libs}.
44
45 Adjustments are made for Borland's quirks needing -L to come first.
46
47 init_platform
48 Add MM_Win32_VERSION.
49
50 platform_constants
51 specify_shell
52 Set SHELL to $ENV{COMSPEC} only if make is type 'gmake'.
53
54 constants
55 Add MAXLINELENGTH for dmake before all the constants are output.
56
57 special_targets
58 Add .USESHELL target for dmake.
59
60 static_lib_pure_cmd
61 Defines how to run the archive utility
62
63 dynamic_lib
64 Methods are overridden here: not dynamic_lib itself, but the
65 utility ones that do the OS-specific work.
66
67 extra_clean_files
68 Clean out some extra dll.{base,exp} files which might be generated
69 by gcc. Otherwise, take out all *.pdb files.
70
71 init_linker
72 perl_script
73 Checks for the perl program under several common perl extensions.
74
75 quote_dep
76 xs_obj_opt
77 Override to fixup -o flags for MSVC.
78
79 pasthru
80 All we send is -nologo to nmake to prevent it from printing its
81 damned banner.
82
83 arch_check (override)
84 Normalize all arguments for consistency of comparison.
85
86 oneliner
87 These are based on what command.com does on Win98. They may be
88 wrong for other Windows shells, I don't know.
89
90 cd dmake can handle Unix style cd'ing but nmake (at least 1.5) cannot.
91 It wants:
92
93 cd dir1\dir2
94 command
95 another_command
96 cd ..\..
97
98 max_exec_len
99 nmake 1.50 limits command length to 2048 characters.
100
101 os_flavor
102 Windows is Win32.
103
104 dbgoutflag
105 Returns a CC flag that tells the CC to emit a separate debugging
106 symbol file when compiling an object file.
107
108 cflags
109 Defines the PERLDLL symbol if we are configured for static building
110 since all code destined for the perl5xx.dll must be compiled with
111 the PERLDLL symbol defined.
112
113 make_type
114 Returns a suitable string describing the type of makefile being
115 written.
116
117
118
119perl v5.30.1 2020-01-30 ExtUtils::MM_Win32(3)