Re: OpenWatcom

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Jason Gade wrote:
> > 
> > Robert Craig wrote:
> > > 
> > > Matt Lewis wrote:
> > > > I committed some changes to the Euphoria svn repository to fix the
> > > > source
> > > > for OpenWatcom.  There's also a makefile (makefile.wat) for building 
> > > > it using OpenWatcom.
> > > 
> > > Good. I can compile with OpenWatcom, but
> > > I still normally use Watcom 10.6 because
> > > of the "pop up to full screen" issue in DOS.
> > > I'm glad there's a developer using OpenWatcom.
> > > I see you added "EOW". 
> > > 
> > 
> > Sorry if the last message shows up; I meant to quote.
> > 
> > What's EOW? That has been bugging me all day.
> > 
> 
> If you've looked at the source, you've probably noticed several macros
> that identify the platform and compiler being used.  There are a couple 
> of places that need to be different from Watcom 10.6 vs Open Watcom 1.5
> (be_callc.c and be_runtime.c).  I added a new macro (EOW) to specify
> that the OpenWatcom compiler is being used.  The convention that Rob has
> used is to prefix any of his macros with an 'E', so I used that, too.
> 
> The makefile is handy, because it only compiles the files that have been
> changed.  If you make changes to the front end, you may need to change the
> makefile.  The translator will break up large files, and changes (additions,
> deletions, etc) may produce different files.  Basically, if any of the 
> euphoria source files for the front end change, it will run the translator,
> but only recompile those files that would be affected by the changes.
> 
> Also, if you build the translator and then want to build the interpreter
> (or vice versa), you should make clean (wmake -f makefile.wat clean).
> They take a slightly different combination of files (some files are 
> in one but not the other, and different routines get deleted, leaving 
> different file sizes).
> 
> Matt

Thanks, Matt. No, I haven't actually looked at the sources yet. I am not sure
when I will, but I am interested in making changes that would support the Digital
Mars and the MingW compilers.

However large projects are not my forte, so I'm not sure if or when that will
happen.

--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu