[ECOS] compiling glib for ecos?

michael shiloh michael@magrittesystems.com
Thu Feb 14 14:16:00 GMT 2002

Thanks Jonathan,

I'll do as you suggest. I've been playing around with
the configuration to see what it takes to get it built,
then I'll look into making a package. so far i've been
hand tweaking the configure script and the config 
output script.

Of course if it's useful I'll feed it back to the
community. I wasn't sure how hard this was and
didn't want to appear presumputious by offering
something trivial.


On Thu, 14 Feb 2002, Jonathan Larmour wrote:

> michael shiloh wrote:
> > 
> > hi,
> > 
> > i need some functionality provided by glib, so
> > i'm looking at how to compile glib into ecos.
> > i'm a little at a loss of how to start. i've
> > searched the archives and there are numerous
> > references to glib as part of the host side
> > tools, but not on the target.
> > 
> > any advice, comments, and encouragement welcome!
> Work out what is system dependent and configure it for eCos ;-). For the
> thread stuff, you can use eCos's POSIX package.
> You probably won't be able to use their configure script beacuse it doesn't
> _appear_ to be able to work properly with cross-compiled systems (although
> I might be wrong). You'll probably have to go over the files listed in the
> AC_OUTPUT macro in configure.in yourself (although some like glib.spec and
> the documentation is less important in this respect) - OR fix up
> configure.in so that it does do something sane with cross compiled systems.
> It may be easiest to integrate it as a proper package in the eCos source
> tree, so that it can manipulate and depend on configuration data.
> Or, of course, you could just try it all and just see what breaks!
> And if you do complete the port, please let us know so the rest of the
> community can benefit!
> Jifl


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

More information about the Ecos-discuss mailing list