Porting dash with already made the executable.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
chrissacchi
Posts: 15
Joined: Sat Sep 15, 2012 5:02 pm
Libera.chat IRC: csacchi

Porting dash with already made the executable.

Post 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.
https://github.com/christophersacchi/RazorOS
"... you notice that this scanner will... woah!"
"Moving right along!"
"That must be, uh. That must be why we're not shipping Windows 98 yet..."
"Absolutely. Absolutely."
User avatar
Jezze
Member
Member
Posts: 395
Joined: Thu Jul 26, 2007 1:53 am
Libera.chat IRC: jfu
Contact:

Re: Porting dash with already made the executable.

Post by Jezze »

"How can I run?"

It is a much to vague question.
Fudge - Simplicity, clarity and speed.
http://github.com/Jezze/fudge/
chrissacchi
Posts: 15
Joined: Sat Sep 15, 2012 5:02 pm
Libera.chat IRC: csacchi

Re: Porting dash with already made the executable.

Post by chrissacchi »

I mean: How can I port dash shell so that it runs at startup in my new OS?
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Porting dash with already made the executable.

Post 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.
Post Reply