Jaen Saul:
# I can't compile on a Win XP 26.00 machine with Microsoft
# Visual Studio 6.0
# (no service packs), but I could compile it a while ago. Nmake says:
#
# cl -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
# -DHAVE_DES_FCRYPT
#   -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
# -DPERL_MSVCRT_READFIX -I./incl
# ude -o core_ops.obj -c core_ops.c core_ops.c
# core_ops.c(15) : fatal error C1083: Cannot open include file:
# 'sys/time.h':
# No such file or directory
# NMAKE : fatal error U1077: 'cl' : return code '0x2'
# Stop.
#
# I checked, there is NO sys/time.h header in the CRT include
# directories...
# Is this just me or is this really a problem?

It's probably a problem.  Configure.pl creates a macro
HAS_HEADER_SYSTIME in config.h--why isn't Parrot respecting it?

# BTW. I'm making a little Object Oriented Basic compiler in Python for
# Parrot. It's nice and clean and OO (rather uncommented, but I
# can fix that)
# :) Maybe it will fit into the languages directory, or is it
# for Perl-only
# compilers? I'll upload the code somewhere as soon as it can compile
# something. Right now I have the lexer and scanner done, and
# some parts of
# the parser, but it doesn't compile into Parrot code yet.

*Holds his fingers up in a cross shape to ward off the Python devil*
;^)

# Here's what's in time.h: (cut a little bit to save space)

So you do have time.h?  Now I'm confused...

FWIW, I get the same thing on Win2000/VC++7:

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9254 for
80x86
Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

core_ops.c
core_ops.c(15) : fatal error C1083: Cannot open include file:
'sys/time.h': No such file or directory

--Brent Dax
[EMAIL PROTECTED]
Configure pumpking for Perl 6

When I take action, I’m not going to fire a $2 million missile at a $10
empty tent and hit a camel in the butt.
    --Dubya

Reply via email to