Re: How to compile Euphoria on Windows?
- Posted by AndySerpa Jul 10, 2011
- 1793 views
I think the .ecp files used to be in a pcre directory or something? Anyway, no matter.
The ~files were installed with the package. I just installed it a few minutes before I tried compiled it (and I deleted the previous source directory before upgrading).
So here is what I do:
C:\Users\as>cd \euphoria\source
C:\euphoria\source>configure.bat
1 file(s) copied.
Build directory is build
C:\euphoria\source>wmake all
Open Watcom Make Version 1.9
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License. See http://www.openwatcom.org/ for details.
Makefile.wat(9): Error(E32): Opening file (): No such file or directory
Error(E02): Make execution terminated
makefile.wat looks like:
- #
- Makefile for PCRE to be included into Euphoria
- #
CC = wcc386
BASEPATH=$(BUILDDIR)\pcre
!include $(CONFIG) !include objects.wat !ifeq DEBUG 1 PCREDEBUG=/d2 !endif
all: $(BASEPATH) $(PCRE_OBJECTS)
- I wanted to put $(BASEPATH) here as a dependency for .c files but
- watcom doesn't provide that functionality in inplicit rules... (sigh) .c.obj : .AUTODEPEND wcc386 $(EOSTYPE) /zp4 /w0 /5r /ol $(PCREDEBUG) -zq -oaxt -DHAVE_CONFIG_H -DNO_RECURSE $< -fo=$@
$(BASEPATH) : .EXISTSONLY $(BUILDDIR) mkdir $(BASEPATH)
Seems like some variables aren't set or something. I apologize, but I know basically nothing about compilers, so when it doesn't go right I'm totally lost instantly...