This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: libstdc++ gets configure error in cross builds


Paul Koning<paul_koning@dell.com> writes:

I'm trying to do a cross-build of gcc 4.5.1.
It's configured --target=mips64el-netbsdelf --enable-languages=c,c++, on an i686-pc-linux-gnu host.

Can you try sysroot with full mips64el-netbsdelf C library and header
files?

The NetBSD archive maybe haven't them... The stuff for embedde boards : http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1/evbmips-mipsel/binary/sets/ had only a 32-bit sysroot but maybe some MIPS system port has the 64-bit ones.

I have newlib and a full set of headers.

Why you think these being suitable for NetBSD/mips64el ?


Please DO use sysroot.

That doesn't help.

So if you will unpack the suitable 'base.tgz' and 'comp.tgz' into a sysroot and point them using '--with-sysroot=', the build wouldn't succeed?

I haven't time to check this just now... BUT what I saw in
'gcc-4.5.1/gcc/config.gcc' was that the template was :

mips*-*-netbsd*) # NetBSD/mips, either endian.
target_cpu_default="MASK_ABICALLS"
tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h"
;;


so it doesn't care about your 'mips64' at all :(  The GCC being
produced is a 32-bit target one and so the evbmips-mipsel stuff
would be suitable for the default...


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