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 ExtU‐
7 tils::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
19 dlsyms
20 replace_manpage_separator
21 Changes the path separator with .
22
23 maybe_command
24 Since Windows has nothing as simple as an executable bit, we check
25 the file extension.
26
27 The PATHEXT env variable will be used to get a list of extensions
28 that might indicate a command, otherwise .com, .exe, .bat and .cmd
29 will be used by default.
30
31 init_DIRFILESEP
32 Using \ for Windows.
33
34 init_others
35 Override some of the Unix specific commands with portable ExtU‐
36 tils::Command ones.
37
38 Also provide defaults for LD and AR in case the %Config values
39 aren't set.
40
41 LDLOADLIBS's default is changed to $Config{libs}.
42
43 Adjustments are made for Borland's quirks needing -L to come first.
44
45 init_platform
46 Add MM_Win32_VERSION.
47
48 platform_constants
49 special_targets
50 Add .USESHELL target for dmake.
51
52 static_lib
53 Changes how to run the linker.
54
55 The rest is duplicate code from MM_Unix. Should move the linker
56 code to its own method.
57
58 dynamic_lib
59 Complicated stuff for Win32 that I don't understand. :(
60
61 extra_clean_files
62 Clean out some extra dll.{base,exp} files which might be generated
63 by gcc. Otherwise, take out all *.pdb files.
64
65 init_linker
66 perl_script
67 Checks for the perl program under several common perl extensions.
68
69 xs_o
70 This target is stubbed out. Not sure why.
71
72 pasthru
73 All we send is -nologo to nmake to prevent it from printing its
74 damned banner.
75
76 oneliner
77 These are based on what command.com does on Win98. They may be
78 wrong for other Windows shells, I don't know.
79
80 cd dmake can handle Unix style cd'ing but nmake (at least 1.5) cannot.
81 It wants:
82
83 cd dir
84 command
85 another_command
86 cd ..
87
88 NOTE This cd can only go one level down. So far this sufficient
89 for what MakeMaker needs.
90
91 max_exec_len
92 nmake 1.50 limits command length to 2048 characters.
93
94 os_flavor
95 Windows is Win32.
96
97
98
99perl v5.8.8 2001-09-21 ExtUtils::MM_Win32(3pm)