1ExtUtils::MM_Win32(3pm)Perl Programmers Reference GuideExtUtils::MM_Win32(3pm)
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_others
34 Override some of the Unix specific commands with portable
35 ExtUtils::Command ones.
36
37 Also provide defaults for LD and AR in case the %Config values
38 aren't set.
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 special_targets
49 Add .USESHELL target for dmake.
50
51 static_lib
52 Changes how to run the linker.
53
54 The rest is duplicate code from MM_Unix. Should move the linker
55 code to its own method.
56
57 dynamic_lib
58 Complicated stuff for Win32 that I don't understand. :(
59
60 extra_clean_files
61 Clean out some extra dll.{base,exp} files which might be generated
62 by gcc. Otherwise, take out all *.pdb files.
63
64 init_linker
65 perl_script
66 Checks for the perl program under several common perl extensions.
67
68 xs_o
69 This target is stubbed out. Not sure why.
70
71 pasthru
72 All we send is -nologo to nmake to prevent it from printing its
73 damned banner.
74
75 arch_check (override)
76 Normalize all arguments for consistency of comparison.
77
78 oneliner
79 These are based on what command.com does on Win98. They may be
80 wrong for other Windows shells, I don't know.
81
82 cd dmake can handle Unix style cd'ing but nmake (at least 1.5) cannot.
83 It wants:
84
85 cd dir1\dir2
86 command
87 another_command
88 cd ..\..
89
90 max_exec_len
91 nmake 1.50 limits command length to 2048 characters.
92
93 os_flavor
94 Windows is Win32.
95
96 cflags
97 Defines the PERLDLL symbol if we are configured for static building
98 since all code destined for the perl5xx.dll must be compiled with
99 the PERLDLL symbol defined.
100
101
102
103perl v5.12.4 2011-06-07 ExtUtils::MM_Win32(3pm)