-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

I initially posted this to a fellow dev who quite rightly pointed me in
the direction of this list.  I was hoping someone here might be able to
tell me if what I'm trying to achieve is feasible or not.

I've got some existing code for tying python to some system libraries,
and I was hoping to port it onto an embedded device, specifically an
ipod.  I've managed to source myself three old ipods (one 3rd Gen
and two 4th gen).  I've got ipodlinux happily running on one of them,
installed python, rebuilt the kernel using ipodlinux's pre-packaged
toolchain (which they seem to call arm-uclinux-elf/arm-elf).

I went to build the system libraries I needed and noticed the toolchain
didn't seem able to support shared objects, and hence the python
C-extension modules probably wouldn't compile either.  Attempting to
compile python natively also failed, so building the extension right in
to python looks difficult.

So, I started investigating building the toolchain on Gentoo using
crossdev.  So far I've successfully built arm-elf, but ipodlinux seems
to mention uclinux a lot and I haven't been able to build an
arm-unknown-uclinux target successfully.  Also, there seemed to be a few
posts about the gentoo arm-elf toolchain not supporting elf2flt (which
seemed necessary to reuse any existing ipodlinux applications).  I'm
also not certain if the arm-elf toolchain built on gentoo will let me
build shared objects or not.

That seems to leave me with the following options:

1. Try rebuilding everything using arm-elf on gentoo.
2. Try to build python using the binary-packaged toolchain.
3. Try to rewrite my code in C directly and statically link the system
libraries.

I was hoping someone here might be able to clear up some of the
confusion surrounding the right targets to use, and offer an opinion on
which option seems like the best one to pursue?

Thanks very much,

Mike  5:)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHlnYvu7rWomwgFXoRArYPAKCBqh7v+FWKCqHIov/3qjKBvsEe0QCeJbGR
tdG/X8ITar2/OSUrGiBs/dQ=
=U9N8
-----END PGP SIGNATURE-----
--
[email protected] mailing list

Reply via email to