I was tryng to compile a perl file using CC. It compiles and creates an exe with following warnings. and when I run the exe file it gives error "The instruction at "0x00401555" referenced memory at "0x00000000". The memory coult not be read
 
Any idea what I may be missing? any help will be appreciated.
 
C:\>perl cc_harness -o hi.exe hi.c
cl -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -ID:\Perl\lib/CORE -o hi.exe hi.c -nologo -nodefaultlib -release  -libpath:"D:\Perl\lib\CORE"  -machine:x86 D:\Perl\lib/CORE/perl56.lib   oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib

C:\>Command line warning D4002 : ignoring unknown option '-nodefau
ltlib'
Command line warning D4002 : ignoring unknown option '-release'
Command line warning D4002 : ignoring unknown option '-libpath:D:\Perl\lib\CORE'
 
Command line warning D4002 : ignoring unknown option '-machine:x86'
hi.c
hi.c(245) : warning C4700: local variable 'left' used without having been initia
lized
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to