Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-07

Exporting from Elf okay?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

L505

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 ;-).