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