Skip to main content

Building squawk for SunSPOT on desktop

3 replies [Last post]
schrank
Offline
Joined: 2008-04-16
Points: 0

Hi,

Prior to try a port of squawk on to another platform i´m looking for a way to build it for the SunSPOT node. Can anyone tell me the way to compile it and/or to upload the resulting image to such a node.
Generally i miss a short description about how the squawk sources are organized. At the moment its a hard work of reverse engineering. Is there a bit more documentation planned?

Thanks
Kai

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
khumalo
Offline
Joined: 2006-12-03
Points: 0

I have basically exactly the same request.... I see there is a stub in the wiki... Would one of you sun folks maybe share some wisdom?

khumalo
Offline
Joined: 2006-12-03
Points: 0

Ahh ... I guess If I'd RTFM I'd have spotted this sooner ... "-Xplat:name" Sorry!!!

exvagabond
Offline
Joined: 2008-08-01
Points: 0

Could you post the command you used to build the squawk vm for the sunspot. I find that the following command does not work:

./d.sh -Xplat:spot -prod -mac -o2 rom cldc

It says that -Xplat is not a supported option.

Additionally, once the vm is build for the sunspot, what is the method for installing it onto the sunspot?

Thanks.