cl hello.c
####
C:\>set PATH
Path=D:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\COREL50;C:\Program Files\SSH Communications Security\SSH Secure Shell
;C:\Program Files\Microsoft Visual Studio .NET\Vc7\bin;C:\Program Files\Common Files\Microsoft Shared\VSA\7.0\VsaEnv
C:\>set LIB
LIB=C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\;d:\tools\cl\lib\
C:\>set INCLUDE
INCLUDE=C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\;d:\tools\cl\include\
C:\>cl hello.c
Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.00.9466 for 80x86
Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.
hello.c
Microsoft (R) Incremental Linker Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.
/out:hello.exe
hello.obj
C:\>hello
Hello World
####
cl.exe -DWIN32 -I"C:\Perl\lib\CORE" C:\Perl\lib\CORE\perl58.lib -o interp.exe interp.c
1 2 3 4 5 6
####
#if defined(WIN32)
incpush(PRIVLIB_EXP, TRUE, FALSE);
#else
incpush(PRIVLIB_EXP, FALSE, FALSE);
#endif