Exporting functions from an Exe
Posted: Mon Jun 02, 2008 1:16 pm
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
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