473,322 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

compile for ARM

Hello

I'm Rafael Marin, and work as reseacher in University of Murcia (Spain).

I want to install and compile modules of python2.4 in a ARMv5b
architecture.

Any idea?

Thank for your time.
Regards, Rafa.

Sep 19 '07 #1
5 2662
Rafael Marin Perez schrieb:
Hello

I'm Rafael Marin, and work as reseacher in University of Murcia (Spain).

I want to install and compile modules of python2.4 in a ARMv5b
architecture.

Any idea?
You might consider looking at the gumstix-project. They feature a
linux-distro including python that is used by the gumstix running a
XScale255-controller. That machine is ARM-based- so you might get a
clue on how to cross-compile for that architecture by looking at the
gumstix-stuff.

Diez
Sep 19 '07 #2
On Sep 19, 12:41 pm, "Diez B. Roggisch" <de...@nospam.web.dewrote:
Rafael Marin Perez schrieb:
Hello
I'm Rafael Marin, and work as reseacher in University of Murcia (Spain).
I want to install and compile modules of python2.4 in a ARMv5b
architecture.
Any idea?

You might consider looking at the gumstix-project. They feature a
linux-distro including python that is used by the gumstix running a
XScale255-controller. That machine is ARM-based- so you might get a
clue on how to cross-compile for that architecture by looking at the
gumstix-stuff.

Diez

The gumstix buildroot requires a Linux platform - I was able to build
Python for gumstix using a Debian environment. The gumstix mailing
list and wiki were very helpful.

-- Paul

Sep 19 '07 #3
On 19 Sep, 20:36, Paul McGuire <pt...@austin.rr.comwrote:
>
The gumstix buildroot requires a Linux platform - I was able to build
Python for gumstix using a Debian environment. The gumstix mailing
list and wiki were very helpful.
The inquirer might also consider crosstool, which is good at building
cross-compilers for GNU/Linux targeting "Embedded Linux":

http://www.kegel.com/crosstool/

As for building Python itself, searching the Python bug tracker for
"cross-compile" might provide some patches and advice:

http://bugs.python.org/

Also try looking at the python.org Wiki for information, starting
here:

http://wiki.python.org/moin/EmbeddedPython

Paul

Sep 19 '07 #4
Paul Boddie <pa**@boddie.org.ukwrote:
On 19 Sep, 20:36, Paul McGuire <pt...@austin.rr.comwrote:
The inquirer might also consider crosstool, which is good at building
cross-compilers for GNU/Linux targeting "Embedded Linux":

http://www.kegel.com/crosstool/

As for building Python itself, searching the Python bug tracker for
"cross-compile" might provide some patches and advice:
You could also do the build using qemu which can emulate an ARM
system.

Debian do a complete ARM userspace, so you can install that under qemu
and do native builds.

Cross compilers work well though - we build our app which has python
embedded for ARM using a cross compiler running under debian.

--
Nick Craig-Wood <ni**@craig-wood.com-- http://www.craig-wood.com/nick
Sep 20 '07 #5
Rafael Marin Perez <ra******@dif.um.eswrote:
Hello

I'm Rafael Marin, and work as reseacher in University of Murcia (Spain).

I want to install and compile modules of python2.4 in a ARMv5b
architecture.

Any idea?
Use OpenEmbedded [http://openembedded.org], I've already done everything
that's necessary to get a fine-grained packaged Python distribution from there.

By the power of OE, I'm using Python on my Linksys NSLU2, my Neo1973 mobile
phone, my Zaurus, my iPAQ, etc. :)

Cheers,

Mickey.

Oct 14 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: janeaustine50 | last post by:
Python's InteractiveInterpreter uses the built-in compile function. According to the ref. manual, it doesn't seem to concern about the encoding of the source string. When I hand in an unicode...
5
by: Carmine Cairo | last post by:
Hi, I'm working on a project and today I've note a little problem during the compile fase. Here a little piece of code: // 1st version welldone = 0; size = p->getSize(); backbone = new...
5
by: Brice Prunier | last post by:
Here under 4 schemas i'm working with ( it may be long: sorry...) The context is the following : Resident.xsd imports Person.xsd and includes Common.xsd ( anonimous schema: no TargetNamespace )...
10
by: Chris LaJoie | last post by:
Our company has been developing a program in C# for some time now, and we haven't had any problems with it, but just last night something cropped up that has me, and everyone else, stumped. I...
6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
15
by: steve yee | last post by:
i want to detect if the compile is 32 bits or 64 bits in the source code itself. so different code are compiled respectively. how to do this?
16
by: desktop | last post by:
I have read that using templates makes types know at compile time and using inheritance the types are first decided at runtime. The use of pointers and casts also indicates that the types will...
1
by: brianrpsgt1 | last post by:
Newbie here.... I have been able to successful pull info from a MySQL DB, get the results and output them in an HTML format using Cheetah to the screen using IDLE. I am doing this on a Windows...
3
by: NvrBst | last post by:
Right now I have C99 code in .c extensions. I compile it in VSC++ and it complains about a lot of errors. I change the extensions to .cpp and compile in VSC++ and it succeeds. Is there a way...
6
by: Ed Leafe | last post by:
I've noticed an odd behavior with compile() and code that does not contain a trailing newline: if the last line is a comment inside of any block, a syntax error is thrown, but if the last line is a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.