cross compile problem, building netbsd-3 for sparc on i386

"Johan A. van Zanten" <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>

This command completes successfully:


   ./build.sh -u -U -m sparc tools


===> Tools built to /tew/004/NetBSD/tools
===> build.sh started: Fri Sep 29 17:30:46 CDT 2006
===> build.sh ended:   Fri Sep 29 17:31:18 CDT 2006
===> Summary of results:
         build.sh command: ./build.sh -u -U -m sparc tools
         build.sh started: Fri Sep 29 17:30:46 CDT 2006
         No nonexistent/bin/nbmake, needs building.
         Bootstrapping nbmake
         MACHINE:          sparc
         MACHINE_ARCH:     sparc
         TOOLDIR path:     /tew/004/NetBSD/tools
         DESTDIR path:
/tew/003/src/NetBSD/NetBSD-3/src/obj.sparc/destdir.sparc
         RELEASEDIR path:
/tew/003/src/NetBSD/NetBSD-3/src/obj.sparc/releasedir
         Created /tew/004/NetBSD/tools/bin/nbmake
         makewrapper:      /tew/004/NetBSD/tools/bin/nbmake-sparc
         Updated /tew/004/NetBSD/tools/bin/nbmake-sparc
         Tools built to /tew/004/NetBSD/tools
         build.sh started: Fri Sep 29 17:30:46 CDT 2006
         build.sh ended:   Fri Sep 29 17:31:18 CDT 2006


 However, "./build.sh -u -U -m sparc -T /tew/004/NetBSD/tools
distribution" fails, complaining that it cannot find sparc--netbsdelf-gcc:

install ===> tools/compat
do-lib-csu ===> .
dependall ===> lib/csu
dependall ===> lib/csu/sparc_elf
#    create  sparc_elf/crtn.d
CC=/tew/004/NetBSD/tools/bin/sparc--netbsdelf-gcc
/tew/004/NetBSD/tools/bin/nbmkdep -f crtn.d --      -I-
-I/tew/003/src/NetBSD/NetBSD-3/src/lib/csu/sparc_elf -DLIBC_SCCS -DPIC
-DDYNAMIC -DELFSIZE=32
-I/tew/003/src/NetBSD/NetBSD-3/src/libexec/ld.elf_so
-I/tew/003/src/NetBSD/NetBSD-3/src/lib/csu/sparc_elf/../common_elf
-I/tew/003/src/NetBSD/NetBSD-3/src/lib/libc/dlfcn -DDWARF2_EH -DJCR
-DDSO_HANDLE  -nostdinc -isystem
/tew/003/src/NetBSD/NetBSD-3/src/obj.sparc/destdir.sparc/usr/include
/tew/003/src/NetBSD/NetBSD-3/src/lib/csu/sparc_elf/../common_elf/crtn.c
nbmkdep: /tew/004/NetBSD/tools/bin/sparc--netbsdelf-gcc: not found: No
such file or directory


 And indeed, there is no sparc--netbsdelf-gcc.

 Anyone have any ideas?

 I'm running the build on sparc/i386.

 -johan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.