[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Python on MicroBlaze-uClinux
Hi again John,
while i am waiting for my ethernet board, i try to compile different
applications of the uClinux distribution to check that they run fine
over MicroBlaze. Particularly i was interesting in python. I compile it
and it works fine!!! :)
But there is a problem... python is not small, about 221K compressed
(588K if not), and the external modules are compiled in a big library
libpython2.0.a (about 3.0M) :(
Now i will try to generate only the external modules that is possible
that i need to reduce the size of the library.
For now, it's possible to use without the external modules:
Sash command shell (version 1.1.1)
/> cd usr
/usr> vi test.py
/usr> cat test.py
for i in range(10):
print i
print "Python works fine!!!"
/usr> python test.py
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
0
Python works fine!!!
1
Python works fine!!!
2
Python works fine!!!
3
Python works fine!!!
4
Python works fine!!!
5
Python works fine!!!
6
Python works fine!!!
7
Python works fine!!!
8
Python works fine!!!
9
Python works fine!!!
/usr>
Regards,
Ivan
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/