ExtUtils::MM_Win32(3)
π NAME π
Okay bestie, this is ExtUtils::MM_Win32(3) β the User Contributed Perl Documentation for ExtUtils::MM_Win32: methods to override UN*X behaviour in ExtUtils::MakeMaker. π
β¨ SYNOPSIS β¨
Literally all you need, bestie:
use ExtUtils::MM_Win32; # Done internally by ExtUtils::MakeMaker if needed
π¦ DESCRIPTION π¦
Go see ExtUtils::MM_Unix for a documentation of the methods provided there. This package overrides the implementation of these methods, not the semantics. Same vibe, different plumbing, no cap. π
πΈ Overridden methods πΈ
Here's the whole roster of overrides, no skips β every method and every note from the page, bestie. β¨
dlsymsxs_dlsyms_extβ On Win32, it's".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. Lowkey iconic. π«Ά
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β AddMM_Win32_VERSION.platform_constantsspecify_shellβ SetSHELLto$ENV{COMSPEC}only if make is type'gmake'.constantsβ AddMAXLINELENGTHfor dmake before all the constants are output.special_targetsβ Add.USESHELLtarget for dmake.static_lib_pure_cmdβ Defines how to run the archive utility.dynamic_libβ Methods are overridden here: notdynamic_libitself, but the utility ones that do the OS-specific work.extra_clean_filesβ Clean out some extradll.{base,exp}files which might be generated bygcc. Otherwise, take out all*.pdbfiles.init_linkerperl_scriptβ Checks for the perl program under several common perl extensions.quote_depxs_obj_optβ Override to fixup-oflags for MSVC.pasthruβ All we send is-nologotonmaketo prevent it from printing its damned banner.arch_check(override) β Normalize all arguments for consistency of comparison.onelinerβ These are based on whatcommand.comdoes on Win98. They may be wrong for other Windows shells, I don't know. πcdβdmakecan handle Unix stylecd'ing butnmake(at least 1.5) cannot. It wants:
cd dir1\dir2
command
another_command
cd ..\..
max_exec_lenβnmake1.50 limits command length to2048characters.os_flavorβ Windows isWin32.dbgoutflagβ Returns aCCflag that tells theCCto emit a separate debugging symbol file when compiling an object file.cflagsβ Defines thePERLDLLsymbol if we are configured for static building since all code destined for theperl5xx.dllmust be compiled with thePERLDLLsymbol defined.make_typeβ Returns a suitable string describing the type of makefile being written.
Mwah! π This little page came from perl v5.42.0, dated 2023-04-04 β and yes, it's ExtUtils::MM_Win32(3), periodt. π
π¦ where this page comes from
- opensuse-leap 16.0: perl-ExtUtils-MakeMaker 7.70-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms