I write a new system call and compile to a new kernel and run it in QEMU successfully.
For now, I need to write a small program to test the new system call.
How do I compile it in the new kernel which run on the QEMU for ARM platform?
Compile a program in QEMU
-
- Member
- Posts: 307
- Joined: Wed Oct 30, 2013 1:57 pm
- Libera.chat IRC: no92
- Location: Germany
- Contact:
Re: Compile a program in QEMU
If you're that far with a kernel on ARM you should know that (if you're not copy & pasting all the time).
The title "Compile a program in QEMU" made me laugh and think "what a noob", so try to choose better ones.
Here's the link to the wiki everyone loves to post on that kind of a topic: Required Knowledge (especially number 10 should be interesting fo you).
The title "Compile a program in QEMU" made me laugh and think "what a noob", so try to choose better ones.
Here's the link to the wiki everyone loves to post on that kind of a topic: Required Knowledge (especially number 10 should be interesting fo you).
Re: Compile a program in QEMU
I guess that you need to implement a file system and an elf loader to find and execute your application, see that: http://www.jamesmolloy.co.uk/tutorial_h ... nitrd.html.
OS for PowerPC Macs: https://github.com/narke/Einherjar
Operating system: colorForth computing environment for x86.: https://github.com/narke/Roentgenium
Operating system: colorForth computing environment for x86.: https://github.com/narke/Roentgenium