real-xinu / xinu-bbb

Other
12 stars 15 forks source link

Building and running user programs #2

Closed samrat closed 7 years ago

samrat commented 7 years ago

Chapter 2 of the book provides several example programs, all of which seem to be user-level programs with a separate main. In the book or in the code, I couldn't find any documentation/examples on how to run such a program.

Could you provide an example of how to do this?

samrat commented 7 years ago

I ended up "converting" the example programs into shell commands(ie. as xsh_* functions). Is there a better way to do this?

douglascomer commented 7 years ago

I ended up "converting" the example programs into shell commands(ie. as xsh_* functions). Is there a better way to go about this?

The examples are just to give the reader some idea about how to get started. It’s great that you converted them to shell commands. Now you’re ready to tackle something more substantial. :-)

Douglas Comer

samrat commented 7 years ago

Thanks :)