E:\>cl.exe -DWIN32 -I"C:\Perl\lib\CORE" C:\Perl\lib\CORE\perl58.lib -o perl_inc.exe perl_inc.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
perl_inc.c
C:\Perl\lib\CORE\sys/types.h(20) : fatal error C1083: Cannot open include file:'_ansi.h': No such file or directory
####
#include
int main()
{
printf("Hello World\n");
return 0;
}
####
E:\>cl.exe -DWIN32 -I"C:\Perl\lib\CORE" C:\Perl\lib\CORE\perl58.lib -o hello.exe hello.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
hello.c
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
/out:hello.exe
/out:hello.exe
C:\Perl\lib\CORE\perl58.lib
hello.obj
LINK : fatal error LNK1104: cannot open file "LIBC.lib"