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 replace_manpage_separator
20 Changes the path separator with .
21
22 maybe_command
23 Since Windows has nothing as simple as an executable bit, we check
24 the file extension.
25
26 The PATHEXT env variable will be used to get a list of extensions
27 that might indicate a command, otherwise .com, .exe, .bat and .cmd
28 will be used by default.
29
30 init_DIRFILESEP
31 Using \ for Windows.
32
33 init_tools
34 Override some of the slower, portable commands with Windows
35 specific ones.
36
37 init_others
38 Override the default link and compile tools.
39
40 LDLOADLIBS's default is changed to $Config{libs}.
41
42 Adjustments are made for Borland's quirks needing -L to come first.
43
44 init_platform
45 Add MM_Win32_VERSION.
46
47 platform_constants
48 constants
49 Add MAXLINELENGTH for dmake before all the constants are output.
50
51 special_targets
52 Add .USESHELL target for dmake.
53
54 static_lib
55 Changes how to run the linker.
56
57 The rest is duplicate code from MM_Unix. Should move the linker
58 code to its own method.
59
60 dynamic_lib
61 Complicated stuff for Win32 that I don't understand. :(
62
63 extra_clean_files
64 Clean out some extra dll.{base,exp} files which might be generated
65 by gcc. Otherwise, take out all *.pdb files.
66
67 init_linker
68 perl_script
69 Checks for the perl program under several common perl extensions.
70
71 xs_o
72 This target is stubbed out. Not sure why.
73
74 pasthru
75 All we send is -nologo to nmake to prevent it from printing its
76 damned banner.
77
78 arch_check (override)
79 Normalize all arguments for consistency of comparison.
80
81 oneliner
82 These are based on what command.com does on Win98. They may be
83 wrong for other Windows shells, I don't know.
84
85 cd dmake can handle Unix style cd'ing but nmake (at least 1.5) cannot.
86 It wants:
87
88 cd dir1\dir2
89 command
90 another_command
91 cd ..\..
92
93 max_exec_len
94 nmake 1.50 limits command length to 2048 characters.
95
96 os_flavor
97 Windows is Win32.
98
99 cflags
100 Defines the PERLDLL symbol if we are configured for static building
101 since all code destined for the perl5xx.dll must be compiled with
102 the PERLDLL symbol defined.
103
104
105
106perl v5.16.3 2013-06-14 ExtUtils::MM_Win32(3)