1. How to compile Euphoria on Windows?
- Posted by AndySerpa Jul 10, 2011
- 1734 views
There is a bug somewhere in Eu that is causing a memory leak. I wanted to try to compile with system memory (and also to change the icon).
In version 4.0.0, I think I just ran configure.bat and then wmake all and it worked fine.
In current version 4.0.3 (I think 4.0.2 was like this as well) there are a bunch of new files in the source directory (.ecp and lots of files ending with '~').
And it won't compile. What's the procedure?
(And why are there still Robert Craig files in there talking about stuff that doesn't apply anymore?)
2. Re: How to compile Euphoria on Windows?
- Posted by DerekParnell (admin) Jul 10, 2011
- 1723 views
In current version 4.0.3 (I think 4.0.2 was like this as well) there are a bunch of new files in the source directory (.ecp and lots of files ending with '~').
.ecp files have always been there. The '~' files are temporary files that should have been deleted prior to packaging the release.
And it won't compile. What's the procedure?
What's the error message(s)?
(And why are there still Robert Craig files in there talking about stuff that doesn't apply anymore?)
History?
3. Re: How to compile Euphoria on Windows?
- Posted by ne1uno Jul 10, 2011
- 1734 views
There is a bug somewhere in Eu that is causing a memory leak. I wanted to try to compile with system memory (and also to change the icon).
In version 4.0.0, I think I just ran configure.bat and then wmake all and it worked fine.
In current version 4.0.3 (I think 4.0.2 was like this as well) there are a bunch of new files in the source directory (.ecp and lots of files ending with '~').
And it won't compile. What's the procedure?
(And why are there still Robert Craig files in there talking about stuff that doesn't apply anymore?)
something like
cd eu4\source configure.bat --build ..\build4w --no-managed-mem wmake
I see no files ending with ~, maybe backup files from an editor?
4. 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...
5. Re: How to compile Euphoria on Windows?
- Posted by SDPringle Jul 11, 2011
- 1717 views
There is something wrong with the instaler. The Makefile you see belongs to a sub-directory. You'll need to get the source from http://scm.openeuphoria.org/hg/euphoria/archive/baf9597b1f51.zip if you want 4.0. You should be able to compile with that.
Shawn Pringle
6. Re: How to compile Euphoria on Windows?
- Posted by AndySerpa Jul 12, 2011
- 1657 views
Thanks, that worked. Yeah, the source directory in the installed version is all screwed-up. Been like that the last couple of versions...