[fpc-pascal] Exporting from Elf okay?

L505 fpc505 at z505.com
Mon Aug 1 00:39:21 CEST 2005


With regards to MS Windows:
There are some myths out there which say you cannot export functions from
exe's.. but this supposedly was only true back pre 386 versions of windows. In
win32 supposedly exporting from an exe is the same as a DLL.

With regards to gnu linux:
How about the Elf format?
Is it possible to export code from an elf? (i.e. export functions)

(I'm not worried about shared PIC. I just want to know if you can call some
functions from an ELF,  which is, from what I know, non PIC )

It's too bad so many people have spread rumors about the exe format. But now, I
want to
know about the elf format and clear up any confusion.

One other question, which is offtopic and straying away from the subject:
The Mac.. does it use a format very similar to Elf/SO , or does it use it's own
custom format?

regards.
Lars

p.s. thanks Jonas for helping before, to clear up some confusion about PIC
questions, now I have to clear up more confusion about exporting ;-).





More information about the fpc-pascal mailing list