This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: Help with cross-compiling glibc toolchain


On Saturday 04 April 2009 17:02:07 Daniel Jabbour wrote:
> I am trying to build a cross-compiled glibc toolchain on a non-linux
> platform. My only issue involves a problem with the include path for
> glibc. I have patched glibc with a cross-tools patch from the CLFS
> project. This basically makes glibc compile a native localedef-native
> binary so localedata/insatll-locales will work in the cross-compiler.

cross-compiling issues really should go to the crossgcc list

> I realize this list doesn't support this patch, however, the issue is
> that it cannot find libintl.h during compilation. This is part of the
> GNU gettext utilities package.

or the C library.  glibc provides this on a GNU systems and libiconv provides 
it on systems that lack it.

> First, I tried to pass it to the configure script for glibc by way of
> CPPFLAGS. In this case my configure command looked like:

iirc, glibc doesnt support CPPFLAGS via configure.

> When I did a make, however, it still didn't find libintl.h, and I
> noticed no -I/opt/local/include in the gcc commands that it called.

so compile it by hand, or add it to your patch.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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