1. How to compile Euphoria on Windows?

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?)

new topic     » topic index » view message » categorize

2. Re: How to compile Euphoria on Windows?

AndySerpa said...

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.

AndySerpa said...

And it won't compile. What's the procedure?

What's the error message(s)?

AndySerpa said...

(And why are there still Robert Craig files in there talking about stuff that doesn't apply anymore?)

History?

new topic     » goto parent     » topic index » view message » categorize

3. Re: How to compile Euphoria on Windows?

AndySerpa said...

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?

new topic     » goto parent     » topic index » view message » categorize

4. Re: How to compile Euphoria on Windows?

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:

  1. #
  2. Makefile for PCRE to be included into Euphoria
  3. #

CC = wcc386

BASEPATH=$(BUILDDIR)\pcre

!include $(CONFIG) !include objects.wat !ifeq DEBUG 1 PCREDEBUG=/d2 !endif

all: $(BASEPATH) $(PCRE_OBJECTS)

  1. I wanted to put $(BASEPATH) here as a dependency for .c files but
  2. 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...

new topic     » goto parent     » topic index » view message » categorize

5. Re: How to compile Euphoria on Windows?

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: How to compile Euphoria on Windows?

Thanks, that worked. Yeah, the source directory in the installed version is all screwed-up. Been like that the last couple of versions...

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu