Hi,

Just did a nice clean CVS checkout.  Unfortunately, I didn't get a nice
clean build.  On running nmake I get:-

--
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        echo Compiling with:
Compiling with:
xx.c
-nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -ZI -I./include 
-DHAS_JIT -DI386 xx.obj -c xx.c
        C:\Perl\bin\perl.exe vtable_h.pl
        C:\Perl\bin\perl.exe ops2c.pl C core.ops bit.ops cmp.ops debug.ops
dotgnu.ops io.ops math.ops object.ops pmc.ops rx.ops set.ops stack.ops
string.ops sys.ops var.ops
        C:\Perl\bin\perl.exe ops2c.pl CPrederef core.ops bit.ops cmp.ops
debug.ops dotgnu.ops io.ops math.ops object.ops pmc.ops rx.ops set.ops
stack.ops string.ops sys.ops var.ops
        C:\Perl\bin\perl.exe ops2c.pl CSwitch core.ops bit.ops cmp.ops
debug.ops dotgnu.ops io.ops math.ops object.ops pmc.ops rx.ops set.ops
stack.ops string.ops sys.ops var.ops
        C:\Perl\bin\perl.exe -MFile::Copy=cp -e "cp q|jit/i386/jit_emit.h|,
q|./include/parrot/jit_emit.h|"
test_main.c
Command line error D2016 : '/O1' and '/ZI' command-line options are
incompatible

NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
Stop.
--

According to the documentation, -O1 is used to "minimize space" and -ZI is
to enable Edit and Continue debug info.  Removing -O1 fixes it.  The
attached patch gets rid of -O1 if -ZI is being used.

Hope this helps,

Jonathan

Attachment: ccflagswin32.diff
Description: Binary data

Reply via email to