Hi,
hiworld example worked!
--- Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
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 l4/mk/tmpl/inst script.
--- Udo A. Steinberg <us15 at os.inf.tu-dresden.de> wrote:
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.
Summary -------
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: ../../mk/tmp/inst
It will create the necessary files for the hiworld package. I just modifed hiworld/server/src/main.c to print "Hiworld".
4. Move to the directory above l4/ and do:
make -C l4 O=build oldconfig cd l4 make O=build
Copied log, names, dm_phys, roottask, sigma0 to /tmp/build from l4/build/bin/x86_586/l4v2.
5. Build fiasco:
cd l4/kernel/fiasco make menuconfig Choose 'fiasco-ux'. Choose Pentium 4. Enable DECEIT_BIT_DISABLES_SWITCH. make
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
Thanks,
SK
-- Shakthi Kannan http://www.shakthimaan.com
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com