shakthimaan at yahoo.com
Wed Dec 20 18:11:32 CET 2006
hiworld example worked!
--- Adam Lackorzynski <adam at os.inf.tu-dresden.de>
> You probably need to set
> MODE = tiny
This worked for me earlier. I simply copied hello/
directory to hiworld, changed
hiworld/server/src/main.c and compiled fine. I was
just curious to test the hiworld example built with
--- Udo A. Steinberg <us15 at os.inf.tu-dresden.de>
> You forgot to load the servers that your hiworld
> program depends upon; l4rm being one of them. You'll
> have to load them via "-l" as well.
Its not that I forgot, its just that I don't know
about them :) Thanks.
1. Checkout l4env, hello, l4/pkg/cxx,
l4/kernel/fiasco, and l4/tool/preprocess.
2. Since, I was using Ubuntu which has gcc and g++
pointing to 4.0.3, I had to change the symbolic link
files to point to 3.3 version. l4io requires gcc 3.x.
3. Create a l4/pkg/hiworld directory. cd to it and do:
It will create the necessary files for the hiworld
package. I just modifed hiworld/server/src/main.c to
4. Move to the directory above l4/ and do:
make -C l4 O=build oldconfig
Copied log, names, dm_phys, roottask, sigma0 to
/tmp/build from l4/build/bin/x86_586/l4v2.
5. Build fiasco:
Choose Pentium 4.
Copied kernel.image (fiasco) and irq0 from
l4/kernel/fiasco/build/ to /tmp/build.
6. Test it:
./fiasco -l names -l log -l dm_phys -l hiworld
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the l4-hackers