Page 1 of 1
Porting Linux Apps to My OS!
Posted: Mon Jun 25, 2007 3:36 pm
by Speewave
This is thinking ahead. Really ahead... but once i get my Kernel ready to rumble on my Testbed PC. can i port things from linux such as:
X Window System
Drivers
NDISWrapper
ALSA Drivers!!!!
SDL
and Java?
Posted: Mon Jun 25, 2007 3:45 pm
by mathematician
That all depends upon whether you can get hold of the source code, and upon whether the apps make use of any capabilities specific to Linux.
You will only be able to use Linux drivers if your OS is designed from the outset to accept them.
Posted: Mon Jun 25, 2007 3:54 pm
by Speewave
mathematician wrote:
That all depends upon whether you can get hold of the source code, and upon whether the apps make use of any capabilities specific to Linux.
You will only be able to use Linux drivers if your OS is designed from the outset to accept them.
I See what you are saying. but how can i make my OS Compatable. should i get some a linux distro source like Debian and get the driver code from that. i was going to get Network Code there too for TCP/IP and PPP link!
Posted: Wed Jun 27, 2007 12:57 am
by deadmutex
Your OS would somehow need to support(or pretend to support) the different system calls that linux uses.
I See what you are saying. but how can i make my OS Compatable. should i get some a linux distro source like Debian and get the driver code from that. i was going to get Network Code there too for TCP/IP and PPP link!
In order to use linux driver code, you would need to implement a compatible device interface. A tutorial for making your own interface can be found at:
http://www.osdever.net/tutorials/pdf/device.pdf