$ h2xs -Afn Mytest Defaulting to backwards compatibility with perl 5.10.1 If you intend this module to be compatible with earlier perl versions, please specify a minimum perl version with the -b option. Writing Mytest/ppport.h Writing Mytest/lib/Mytest.pm Writing Mytest/Mytest.xs Writing Mytest/Makefile.PL Writing Mytest/README Writing Mytest/t/Mytest.t Writing Mytest/Changes Writing Mytest/MANIFEST $ copy test.c Mytest 1 file(s) copied. $ copy test.h Mytest 1 file(s) copied. $ h2xs -Oxan Mytest test.h Defaulting to backwards compatibility with perl 5.10.1 If you intend this module to be compatible with earlier perl versions, please specify a minimum perl version with the -b option. Overwriting existing Mytest!!! Writing Mytest/ppport.h Scanning typemaps... Scanning c:\perl\5.10.1\lib/ExtUtils/typemap Scanning test.h for functions... Scanning test.h for typedefs... Writing Mytest/lib/Mytest.pm Writing Mytest/Mytest.xs Writing Mytest/fallback/const-c.inc Writing Mytest/fallback/const-xs.inc Writing Mytest/Makefile.PL Writing Mytest/README Writing Mytest/t/Mytest.t Writing Mytest/Changes Writing Mytest/MANIFEST $ cd Mytest $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Mytest $ dmake test cp lib/Mytest.pm blib\lib\Mytest.pm AutoSplitting blib\lib\Mytest.pm (blib\lib\auto\Mytest) C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe C:\perl\5.10.1\lib\ExtUtils\xsubpp -typemap C:\perl\5.10.1\lib\ExtUtils\typemap Mytest.xs > Mytest.xsc && C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe -MExtUtils::Command -e "mv" -- Mytest.xsc Mytest.c Please specify prototyping behavior for Mytest.xs (see perlxs manual) gcc -c -I. -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE" Mytest.c gcc -c -I. -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE" test.c Running Mkbootstrap for Mytest () C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe -MExtUtils::Command -e "chmod" -- 644 Mytest.bs C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Mytest\", 'DLBASE' => 'Mytest', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Mytest.def --output-exp dll.exp g++ -o blib\arch\auto\Mytest\Mytest.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"c:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE" -L"C:\MinGW\lib" Mytest.o test.o -Wl,--image-base,0x3e0d0000 C:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE\libperl510.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp dlltool --def Mytest.def --base-file dll.base --output-exp dll.exp g++ -o blib\arch\auto\Mytest\Mytest.dll -mdll -s -L"c:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE" -L"C:\MinGW\lib" Mytest.o test.o -Wl,--image-base,0x3e0d0000 C:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE\libperl510.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch\auto\Mytest\Mytest.dll C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe -MExtUtils::Command -e "cp" -- Mytest.bs blib\arch\auto\Mytest\Mytest.bs C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe -MExtUtils::Command -e "chmod" -- 644 blib\arch\auto\Mytest\Mytest.bs C:\perl\5.10.1\bin\MSWin32-x86-multi-thread\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/Mytest.t .. ok All tests successful. Files=1, Tests=2, 0 wallclock secs ( 0.02 usr + 0.03 sys = 0.05 CPU) Result: PASS