From: "David Anderson" <[EMAIL PROTECTED]>
>> I added two new utilities: runc and runjava, based on your fwflash. runc
>> runs a C program in RAM. runjava has two parameters: the Java VM binary 
>> file
>> and the Java binary.
>
> Nice. Mind if I add these back to the libnxt upstream? I'm going to
> move them to hosting at Google Code, so it should not be going under
> again.

Feel free to add runc and runjava back to libnxt. They don't do anything 
clever, only stuff you were doing either for fwflash or to download and run 
the flash routine. We probably won't use them in lejos once we have USB and 
Bluetooth support in a flash version of lejos. We probably will use a 
version of fwflash to download the flash lejos binary.

There is also a test program for runc in the libnxt lejos project. This took 
some code from your bootloader. It just toggled the light sensor LED to 
confirm that I had successfully run the code on the NXT.

>> We have libnxt and these utilities running under Windows as well as 
>> Linux.
>
> Cool! Did anything in the code need changing to make it work in win32?
> I'd written it to be as portable as possible, but the win32 support
> was always more theoretical than anything else...

I compiled under MSys/MinGW. I just had to remove one header file that did 
not exist in MinGW, but wasn't being used anyway. I have not checked that 
change in.

Lawrie


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to