Hi Zbigniew, On 04/02/2013 02:31 AM, Zbigniew Halas wrote: > as some of you know I've been working on porting Python to HelenOS. The > initial part of porting is now completed and you can run simple Python > scripts > on HelenOS. Due to the fact that HelenOS does not implement float point > functions that Python needs, attempt to use float point objects or modules > using them will terminate Python with a message that some float point > function > is not implemented. There are also some issues with close in file object > destructor I haven't yet investigated, anyway basic functionality is there. > > To try it: > * build HelenOS with attached patches applied > * git clone https://github.com/zhalas/helenos-build-python.git > * cd helenos-build-python > * git submodule init > * git submodule update > * export HELENOS_HOME=/path/to/your/HelenOS/tree > * make > > When the build finishes place the result in HelenOS initramfs: > destdir/app/python2.7 -> /app/python > destdir/lib/python2.7 -> /lib/python2.7 > > Then boot HelenOS and enjoy Python!
and Python I enjoyed! Thanks for working on this. > I would be grateful for your feedback and reviewing attached patches. How do you get the new binary and the python2.7 library to the initrd.img? For me, this was not very convenient as I had to prevent make in the boot subtree from cleaning up uspace/dist first. I used the new 4.8 toolchain to build Python and it produced a great deal of warnings, fortunately the compilation completed just fine. I also found the warnings emitted by posix_sigaction() quite annoying, perhaps we could silence the warnings somehow. So, could you sum up the current status as far as features and limitations are concerned (besides those that you already mentioned). What would be the next steps to proceed from here? The patches look reasonably small and the overall amount of changes is pretty small too, which is nice. Unless someone has some serious concerns, I would like to integrate this. Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
