Re: Bitten by a bug

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

Robert Craig wrote:
> 
> 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.
> 

I think if you do anything, it should be to make Borland 100% compatable with
the Euphoria, like Watcom and GCC. The last time I tried Borland 5.5 with the
Euphoria to C translator v2.4 I had a hell of a time trying to get the
enviromental variables set, but once I did though, I did a test compile with
window.exw or winwire.exw (I forgot which); it translated/compiled, but when I
ran it, I got a machine exception. They both worked fine with OpenWatcom.

Perhaps it's better now with v2.5, I havent tried. But since then I've came to
the conclusion that 99 percent compatable just isnt good enough in some cases and
that only perfect is.

Maybe you can do some testing with it to see if you can reproduce the problem
with the 2.5 translator.


> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>
> 


Regards,
Vincent

----------------------------------------------
     ___	      __________      ___
    /__/\            /__________\    |\ _\
    \::\'\          //::::::::::\\   |'|::|
     \::\'\        //:::_::::_:::\\  |'|::|
      \::\'\      //::/  |::|  \::\\ |'|::|
       \::\'\    //::/   |::|   \::\\|'|::|
        \::\'\__//::/    |::|    \::\|'|::|
         \::\','/::/     |::|     \::\\|::|
          \::\_/::/      |::|      \::\|::|
           \::,::/       |::|       \:::::|
            \___/        |__|        \____|

 	                 .``.
		         ',,'

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

Search



Quick Links

User menu

Not signed in.

Misc Menu