* [Buildroot] including python when compiling for microblaze
@ 2012-01-12 8:47 Johannes Teiwes
2012-01-12 10:02 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Teiwes @ 2012-01-12 8:47 UTC (permalink / raw)
To: buildroot
I am currently trying to port the python package in buidroot to the microblaze platform.
I have everything set up with a custom toolchain etc. and it works fine. The problem is
the libffi library, which is required for building any script language (e.g. perl, python)
for buildroot. The exact error message says
configure: error: "libffi has not been ported to microblaze-unknown-linux-gnu."
Has anyone started to port libffi to another platform or even found a specific workaround
for microblaze? Is there any alternative to the libffi library or installing python via buildroot?
Any help is greatly appreciated.
--
Johannes Teiwes - jteiwes at tzi.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120112/0c11dae3/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] including python when compiling for microblaze
2012-01-12 8:47 [Buildroot] including python when compiling for microblaze Johannes Teiwes
@ 2012-01-12 10:02 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2012-01-12 10:02 UTC (permalink / raw)
To: buildroot
Hello,
Le Thu, 12 Jan 2012 09:47:13 +0100,
Johannes Teiwes <jteiwes@informatik.uni-bremen.de> a ?crit :
> I am currently trying to port the python package in buidroot to the
> microblaze platform. I have everything set up with a custom toolchain
> etc. and it works fine. The problem is the libffi library, which is
> required for building any script language (e.g. perl, python) for
> buildroot. The exact error message says
>
> configure: error: "libffi has not been ported to
> microblaze-unknown-linux-gnu."
>
> Has anyone started to port libffi to another platform or even found a
> specific workaround for microblaze? Is there any alternative to the
> libffi library or installing python via buildroot?
Apparently, libffi has no supported for microblaze, and it seems that
libffi is a mandatory dependency for building Python. It looks like you
have two options:
*) Port libffi to Microblaze
*) Use a more lightweight scripting language such as Lua. Python is
quite heavy for MMU-less systems at 100-180 Mhz such as Microblaze
systems. Lua is probably a much better fit for this kind of systems.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-12 10:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 8:47 [Buildroot] including python when compiling for microblaze Johannes Teiwes
2012-01-12 10:02 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox