[mico-devel] Cross compiling MICO for eCos
Karel Gardas
kgardas at objectsecurity.com
Tue Mar 13 11:38:42 PDT 2007
Hello Patrick,
I think autoconf is not that difficult for cross-compiling. You just need
to use appropriate target option(s). We've already hacked MICO to support
cross-compilation to various linux targets (see your MICO sources). I have
also ported MICO to the RTEMS RTOS without any big issue. So I think the
problem with eCos port is not autoconf related but rather eCos related.
While discussing with some commercial customer possibility of MICO/eCos
port, we have found two possible ways:
1) use eCosCentric eCos libstc++ port as a basis and then do necessary
changes in MICO.
2) port MICO to the raw free eCos, this means you will also need to
provide necessary bits of libstdc++ as was done in the past in a form of
MICO's mini-STL support. This means more work needs to be done.
Independently from the two ways above, you will also need to decide if you
will be running MICO on top of eCos/POSIX layer or not. If not, you will
also need top port MICO's threading layer to the eCos thread API.
<commercial>
Anyway, the project I'm talking above has not happened at the end, so if
your company is interested in funding MICO/eCos port by for example using
our company support services, please let me know off-list.
</commercial>
Cheers,
Karel
On Mon, 12 Mar 2007, Patrick Dietrich wrote:
>
>
> Hello,
>
> I have to get MICO running on an embedded system running eCos 1.3.
>
> The problem is that autoconf makes my life really hard since there is no
> way to manually tell it to cross compile. Is there any other way to
> build mico?
>
> If not I would like to provide that. Unfortunately I don't know much
> about autoconf.
> Therefor, what would really help me is a detailed description on how to
> write "static" Makefiles (i.e. Makefiles which are not generated by
> autoconf) for MICO for a single platform.
>
> Your help is much appreciated!
>
> --
> Patrick
>
>
--
Karel Gardas kgardas at objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
More information about the Mico-devel
mailing list