public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: Cross compiling Python for eCos
       [not found] <48E90091.9090507@develer.com>
@ 2008-10-05 21:27 ` Gary Thomas
  0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2008-10-05 21:27 UTC (permalink / raw)
  To: Lorenzo Mancini; +Cc: eCos Discussion

Lorenzo Mancini wrote:
> Hello Gary,
> 
> I'm trying to build Python for the eCos platform.  I'm reading right now
> that you succeeded in this task some time ago:
> 
> http://sourceware.org/ml/ecos-discuss/2006-06/msg00075.html
> 
> Can you send me the Python cross-compiling example, even if you didn't
> polish it up properly?  I'm going through hacking the original building
> route of Python to match eCos structure, but it's really a pain :)

That's *not* the way to go.  Treat eCos like any other POSIX system
and just add some wrapping to make things fit together.

> Probably the route of configure and Makefile hacking I've used with
> Stackless on Nintendo DS (see http://www.develer.com/~lmancini/dspython
> if interested) isn't the most effective here with eCos...
> 
> Thanks in advance!
> 

First of all, questions like these probably belong on the
eCos mailing list (CC'd)

I've packed up the tree I used to build Python.  It's a bit
old (Python 2.3) and there's no documentation other than the
Makefile.  You can find it at:
  http://www.mlbassoc.com/examples/python_on_eCos.tgz

You'll need to adjust the Makefile for your target, as well
as the configuration file.  Once built, you'll have a Python
interpreter which runs using a file system (ROM/RAM/JFFS2)
of your choice (for all the Python packages, etc)

n.b. NO WARRANTY or SUPPORT implied.  You're on your own;
ask on the mailing list if you have questions.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-05 21:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <48E90091.9090507@develer.com>
2008-10-05 21:27 ` [ECOS] Re: Cross compiling Python for eCos Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).