Re: Bitten by a bug
- Posted by Robert Craig <rds at RapidEuphoria.com> Oct 20, 2005
- 549 views
Jason Gade wrote: > The only thing that I would add to this is that mingw is a win32 port of gcc > so it wouldn't *really* be like adding another compiler. It would just be > making > sure that mingw worked with the translator. > Doesn't the translator already work > with djgpp? Yes, on DOS. > I don't think that it would be that much more work. > > I think it would be great to drop support for lcc and add support for Digital > Mars C compiler, but I know that probably *is* a lot more work. It's hard to say how much work it will be until you get half way through it. There are lots of small incompatibilities among C compilers. If a critical C library routine is missing or works very differently, it can require a lot of time to work around it. Things like dir() can be tough. Then there are the calls from Euphoria to C which require intimate knowledge of the call stack etc. Sometimes the malloc's are very different which might require some drastic changes since Euphoria is a "power user" of malloc, i.e. it knows more about the internals of malloc than it really should. In general it means adding lots of #ifdef's to code that is already packed with them. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com