Re: Compliing eu 4.1 programs to C

new topic     » goto parent     » topic index » view thread      » older message » newer message
ChrisB said...

Hi

At some point in the past, IIRC, eu could compile to an executable program by just using euc.ex euprog.exw. (and a dll by adding -dll to the command line)

Does this capability still exist.

Yes, there are quite a few features for the translator now.

ChrisB said...

If not is there a set of steps to follow in order to do so. Including installing the compiler (whether GCC or Watcom).

We dropped support for Watcom a while ago in favor of GCC. If you're on Windows, I'd recommend using TDM-GCC.

ChrisB said...

Why? SDL does not have pixel perfect collision, got it working quite well with Eu, but doing many collision checks is going to take some time, which would hopefully be faster with a dll.

Your best bet would probably be to use a library written in C for this purpose. You'll gain a speed-up by using the translator, but if speed is important a native C library can be optimized and accelerated with things like assembly and SIMD.

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu