This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling glib for ecos?


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
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]