Hi to all,
My OS actually has the PE file format as the executable format.
The kernel is an exe but i will like it to export some functions that other kernel modules should use.It should be like the ntoskrnl.exe file of windows or the executable of the bochs emulator,that is an executable exporting functions instead of dlls doing it.I will permit me to use a lot less run time relocations in the kernel and make it faster.
Please can someone tell me hoe it can be done in gcc?
Thanks to all
Exporting functions from an Exe
- einsteinjunior
- Member
- Posts: 90
- Joined: Tue Sep 11, 2007 6:42 am
Re: Exporting functions from an Exe
I didn't know GCC could output PE at all. Anyway, you'd probably need DLLs then. Afaik, these are also PEs, but with exported functions.einsteinjunior wrote:Please can someone tell me hoe it can be done in gcc?
JAL