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: eglibc cross-compiling


On Fri, Sep 30, 2011 at 8:09 AM, Christer Solskogen
<christer.solskogen@gmail.com> wrote:
> As far as I have understood, glibc does not support to be cross-compiled, so
> I had to go for eglibc. I then tried to follow eglibs cross-compiler guide
> (http://www.eglibc.org/cgi-bin/viewcvs.cgi/trunk/libc/EGLIBC.cross-building?rev=2037&view=markup)
> but using newer tools (newest binutils and newest gcc)
>
> Building binutils was no problem, but the first gcc stage complained about
> fenv.h was missing. And as far as I know fenv.h is a part of (e)glibc. I was
> under the impression that buliding this minimal c-compiler would not use
> anything else than it's own header files, so I guess that the way gcc is
> built has changed. Or has the process changed?

You may have misconfigured the minimal C compiler build? It should be buildable.

If this is a learning exercise then by all means please playing around
and we'll be more than happy to help.

If you need to get things done now then I suggest looking at
crosstool-ng or other similar toolchain building projects.

Cheers,
Carlos.


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