I think all you need to do is just modify the main() so that the startup parameters are hard-coded. Then you can just use it instead of /bin/sh. eg. You could try booting Linux with the command line "init=/usr/bin/mykaffe" (pass the extra commands from your bootloader, in this example "/usr/bin/mykaffe" is your modified kaffe). If you link kaffe staticly, you should be able to do a simple system with no other binaries or libraries. Something to try might be to use BeanShell or Python for a command line, or write your own.
Cheers, - Jim ----- Original Message ----- From: "Mark and Janice Juszczec" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 14, 2002 1:13 PM Subject: Fwd: Re: kaffe as shell Hi folks Someone found this in the PocketLinux archive and asked me if I had gotten any answers. Since I haven't, I thought I'd post it here. Does anyone know how to build kaffe as a shell. >From: "°ê½÷" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: kaffe as shell >Date: Tue, 9 Apr 2002 01:31:59 +0800 > >Hello > >I am a college student > >I found the following essay that you posted two years ago > >But it seems that no one has answered your question > >I have the same question with you. > >So i write this letter, asking you for the answer if you have already >figured it out! > >thanks!!! > >============================================= > >Hello all > > >While searching the PocketLinux archives, I found that: > > >[EMAIL PROTECTED] > > >wrote the following on: Fri Sep 01 18:56:13 2000 > > > >It's easy to build kaffe so that it acts as a shell, and automatically > >launches some application - in that case, it could be installed > >instead of a shell. > > > Has anyone built kaffe like this? Can someone tell me where I can >find >docs or email how they did it to me? > > >My email is: > > > [EMAIL PROTECTED] > > >Thanks >Mark > > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx