Re: Translating Euphoria Apps -- Which compiler do you use?

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

If you want to know how it is done then look at http://members.home.nl/m.s.ter.haseborg/peu/InstallPeu.htm

There is a PEU.ZIP . It is the 'dynamdll.c' . Maybe that will tell you how that is inplemented .

Looking at a really old version of peu by Pete E (in dynamdll.c), I see that my memory was correct. This appears to be standard C. No inline assembly or compiler specific features.

Instead, we have a series of function pointer calls inside a big switch statement (the switch statement is there so we know which function pointer type to cast to based on the number of parameters). Eu instead calls the function with no parameters after using inline assembly to manually change the stack.

menno said...

The lsck(DJGPP) version had a problem that is it close() it does a RST . Linger should prefend that , but does not work .

I will try the other one .

I am not sure I understand what the issue is?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu