This is the mail archive of the 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]

[Bug build/21052] cross compiling glibc for arm.

ataro+glibc_bug at protonmail dot ch changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from ataro+glibc_bug at protonmail dot ch ---
(In reply to Carlos O'Donell from comment #3)
> (In reply to ataro+glibc_bug from comment #2)
> > (In reply to Andreas Schwab from comment #1)
> > > You are missing a cross C++ compiler.  Since it is only needed for the
> > > testsuite this isn't a fatal error.
> > 
> > Sorry but I think that I do have a C++ compiler.
> > 
> > it is available in the gcc prefix directory:
> > /root/andro_test/gcc-build/gcc/cpp
> Did you add this to the PATH?
> Your config.log shows it's not found:
> configure:2920: checking for arm-linux-gnueabi-g++
> configure:2950: result: no
> And the configure falls back to trying the system G++:
> configure:2964: checking for g++
> configure:2980: found /usr/bin/g++
> configure:2991: result: g++
> And the system g++ won't work because you're building cross.

I think I've added it to the $PATH but somehow the configure script failed to
detect it. I also saw that it failed to find the nm cross compiled tool from
binutils and I've to add it manually to the config.make file.

However, I've started a clean build of binutils, gcc and glibc all with the
same --prefix directory and everything went all. (everything except that I was
must to add the -O2 and the -I/root/androd_test/linux-3.4.57 flags to the
$CFLAGS and $CPPFLAGS environment variables).

Thanks you for your replies.



You are receiving this mail because:
You are on the CC list for the bug.

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