1. Ver 4.0 possible error in makefile.wat

If you use watcom makefile to build files on win2000 and DO NOT enable MANAGED_MEM

There are two places during the compile where MANAGED_MEM is turned on.

These are the two places where I captured the output into a text file.

I think this is an error and should be MANAGED_MEM=$(MANAGED_MEM)

I have another question why isn't there some way to tell if a exe has managed memory turned on ??

if not exist dosbkobj\back mkdir dosbkobj\back ----- BACKEND ------ wmake -f makefile.wat .\dosbkobj\main-.c EX="c:\eu1\bin"\ex.exe EU_TARGET=backend. OBJDIR=dosbkobj DEBUG= MANAGED_MEM=1 OS=DOS

if not exist dosbkobj\back mkdir dosbkobj\back wmake -f makefile.wat .\dosobj\main-.c EX="c:\eu1\bin"\ex.exe EU_TARGET=int. OBJDIR=dosobj DEBUG= MANAGED_MEM=1 OS=DOS Open Watcom Make Version 1.6

new topic     » topic index » view message » categorize

2. Re: Ver 4.0 possible error in makefile.wat

bernie said...

If you use watcom makefile to build files on win2000 and DO NOT enable MANAGED_MEM

There are two places during the compile where MANAGED_MEM is turned on.

These are the two places where I captured the output into a text file.

I think this is an error and should be MANAGED_MEM=$(MANAGED_MEM)

I have another question why isn't there some way to tell if a exe has managed memory turned on ??

if not exist dosbkobj\back mkdir dosbkobj\back ----- BACKEND ------ wmake -f makefile.wat .\dosbkobj\main-.c EX="c:\eu1\bin"\ex.exe EU_TARGET=backend. OBJDIR=dosbkobj DEBUG= MANAGED_MEM=1 OS=DOS

if not exist dosbkobj\back mkdir dosbkobj\back wmake -f makefile.wat .\dosobj\main-.c EX="c:\eu1\bin"\ex.exe EU_TARGET=int. OBJDIR=dosobj DEBUG= MANAGED_MEM=1 OS=DOS Open Watcom Make Version 1.6

Bernie's posts (and seemingly ONLY Bernie's posts) frequently have formatting errors at the bottom of his post and that leads to the footers (with their associated buttons for navigation) being either missing or FUBARed. Is anybody else experiencing this when reading Bernie's messages?

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

3. Re: Ver 4.0 possible error in makefile.wat

Mike777 said...
bernie said...

If you use watcom makefile to build files on win2000 and DO NOT enable MANAGED_MEM

<snip>

Bernie's posts (and seemingly ONLY Bernie's posts) frequently have formatting errors at the bottom of his post and that leads to the footers (with their associated buttons for navigation) being either missing or FUBARed. Is anybody else experiencing this when reading Bernie's messages?

Using thread view, I don't see ANY messages with the bottom buttons duplicating the top buttons anymore, I think they were discontinued? I think I'd noticed some kind of errors at the end of some of Bernie's posts, but in comparison to the login problems recently, I didn't pay the errors much attention.

Dan

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

4. Re: Ver 4.0 possible error in makefile.wat

I apologize for hijacking the thread. If somebody wants to split this off, I certainly wouldn't mind.

Here is an example (see the first message in the thread).

http://openeuphoria.org/EUforum/index.cgi?module=forum&action=flat&id=102488#unread

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

5. Re: Ver 4.0 possible error in makefile.wat

bernie said...

There are two places during the compile where MANAGED_MEM is turned on.

I think this is an error and should be MANAGED_MEM=$(MANAGED_MEM)

if not exist dosbkobj\back mkdir dosbkobj\back ----- BACKEND ------ wmake -f makefile.wat .\dosbkobj\main-.c EX="c:\eu1\bin"\ex.exe EU_TARGET=backend. OBJDIR=dosbkobj DEBUG= MANAGED_MEM=1 OS=DOS

if not exist dosbkobj\back mkdir dosbkobj\back wmake -f makefile.wat .\dosobj\main-.c EX="c:\eu1\bin"\ex.exe EU_TARGET=int. OBJDIR=dosobj DEBUG= MANAGED_MEM=1 OS=DOS Open Watcom Make Version 1.6

This is for the DOS ex.exe (actualy, the lines you quoted are for the dos backend, backendd.exe, but should also include ex.exe and ec.exe), not the Windows versions.

I don't think anyone has tested a DOS version without MANAGED_MEM. If DOS works with ESIMPLE_MALLOC, then it should be configurable (and perhaps default to ESIMPLE_MALLOC) - but if it doesn't work at all then we need to leave it the way it is.

I had assumed that the DOS version required MANAGED_MEM and would break without it, that is why I left MANAGED_MEM=1 in the wmakefile. However, I never tested this.

bernie said...

I have another question why isn't there some way to tell if a exe has managed memory turned on ??

That is a good point. Perhaps there should be.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu