C:\>cl.exe -DWIN32 -I"D:\Perl\lib\CORE" D:\Perl\lib\CORE\perl56.lib -o interp.exe interp.c Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.00.9466 for 80x86 Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. interp.c Microsoft (R) Incremental Linker Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. /out:interp.exe /out:interp.exe D:\Perl\lib\CORE\perl56.lib interp.obj # all is well but without the define...... C:\>cl.exe -I"D:\Perl\lib\CORE" D:\Perl\lib\CORE\perl56.lib -o interp.exe interp.c Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.00.9466 for 80x86 Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. interp.c D:\Perl\lib\CORE\perl.h(803) : warning C4273: 'win32_strerror' : inconsistent dll linkage d:\Perl\lib\CORE\dosish.h(111) : warning C4005: 'Stat' : macro redefinition d:\Perl\lib\CORE\win32.h(306) : see previous definition of 'Stat' D:\Perl\lib\CORE\perl.h(1754) : error C2061: syntax error : identifier 'perl_os_thread' D:\Perl\lib\CORE\perl.h(1754) : error C2059: syntax error : ';' D:\Perl\lib\CORE\perl.h(1755) : error C2061: syntax error : identifier 'perl_mutex' D:\Perl\lib\CORE\perl.h(1755) : error C2059: syntax error : ';' D:\Perl\lib\CORE\perl.h(1756) : error C2061: syntax error : identifier 'perl_cond' D:\Perl\lib\CORE\perl.h(1756) : error C2059: syntax error : ';' D:\Perl\lib\CORE\perl.h(1757) : error C2061: syntax error : identifier 'perl_key' D:\Perl\lib\CORE\perl.h(1757) : error C2059: syntax error : ';' d:\Perl\lib\CORE\perl.h(2245) : warning C4273: 'win32_crypt' : inconsistent dll linkage d:\Perl\lib\CORE\perl.h(2355) : warning C4273: 'win32_environ' : inconsistent dll linkage d:\Perl\lib\CORE\perlvars.h(22) : error C2061: syntax error : identifier 'PL_thr_key' d:\Perl\lib\CORE\perlvars.h(22) : error C2059: syntax error : ';' d:\Perl\lib\CORE\perlvars.h(39) : error C2061: syntax error : identifier 'PL_op_mutex' d:\Perl\lib\CORE\perlvars.h(39) : error C2059: syntax error : ';' C:\>