Page 1 of 1
Porting dash with already made the executable.
Posted: Sat Sep 15, 2012 5:05 pm
by chrissacchi
Hey, guys! I am making my own operating system, and I'm wondering: how I can run dash at startup? I have already ported dietlibc (from a CVS repo) and have successfully built my own cross-compiler.
Re: Porting dash with already made the executable.
Posted: Sat Sep 15, 2012 6:58 pm
by Jezze
"How can I run?"
It is a much to vague question.
Re: Porting dash with already made the executable.
Posted: Sun Sep 16, 2012 6:01 am
by chrissacchi
I mean: How can I port dash shell so that it runs at startup in my new OS?
Re: Porting dash with already made the executable.
Posted: Sun Sep 16, 2012 6:25 am
by bluemoon
chrissacchi wrote:I mean: How can I port dash shell so that it runs at startup in my new OS?
As with any software development cycle, split the objective into small pieces into:
- port dash
- runs
- at startup
port dash
There are articles on porting dash, which itself involve its own dependency and more works to do - further break them down
run an application
This can be further break down into (or depends on):
- process management
- VFS (so to load the executable)
- user mode (optional)
- kernel service / syscall / API
- etc
at startup
This is probably the easiest part, just define your logistic for boot sequence.