Re: Can it be done - Part II.
Ben Duncan wrote:
> Looking over my AppGen stuff, I have C headers for the
> DBMS definitions. I also have a "appgen.a", which is an
> "archive" of appgen's "o" (object) files.
>
> Now a few questions:
>
> A:
> Can Euphoria read, translate, display, "binary" numbers?
> These are the "integer", "long", "float" ..etc..etc. that
> C uses.
A Euphoria program can effectively pass C ints, pointers,
floats, and doubles to/from C routines. That's how something
like Win32Lib works. It communicates with the underlying
WIN32 API, which is all C-based .dll's.
> B:
> Can Euphoria USE the ".a" library files or the "objects"
> themselves?
Euphoria, whether interpreted or translated/compiled,
has support for Linux/FreeBSD *shared* libraries (.so)
as well as Windows *shared* (dynamic) libraries (.dll).
With the Translator you could set up calls to a *static*
library (.a), but it would involve a bit of kludgery
on your part. You could also develop your own
Euphoria-friendly C shared library containing
routines that call the static library.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|