[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] GLib ... uClinux



Hi,

Sridhar Addagada wrote:
> I found the reference at
> http://www.uckernel.org/pub/uClinux/archive/10641.html, But in the
> source tree of both uClibc and uClinux there are no references to GLib
> anywhere. Does someone hace a working copy of Glib for uClinux?
> 
> I was trying to corss compile GLib for my microblaze target.  Here i
> hit the wall with the configure script, i got the following error.
> 
> *** You must have either have gettext support in your C library, or use the
> *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
> 

the version of uClibc in uClinux has a stubbed version of gettext that
may be enough to build uClibc - to use it you must enable certain
experimental/debug options.

Go into the uClinux-dist/uClibc directory, run "make menuconfig",

select "uClibc development/debugging options" -> "Manuel's hidden warnings"

Then choose the menu "String and Sdtio Support" -> "Local Support"

Then, down the bottom of this same menu, the gettext() option will appear.

Save and exit from the uClibc menu config, return to uClinux-dist
directory, do a make clean all, and see what happens.

I cannot vouch for this - I've certainly never tried it, but you might
at least get glib to compile.

Failing that, you will need to configure glib to use a specific gettext
package - perhaps there is a ./configure option to specify such a thing.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/