tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: default TOOLDIR



apb%cequrux.com@localhost wrote:

> Index: build.sh
> ===================================================================
> --- build.sh  22 Aug 2008 23:41:24 -0000      1.197
> +++ build.sh  25 Oct 2008 19:08:48 -0000
> +             possible_TOOLDIR="${possible_TOP_OBJ}/tooldir.${host_ostype}"
> +             if [ -x "${possible_TOOLDIR}/bin/${toolprefix}make" ]; then
> +                     guess_make="${dir}/bin/${toolprefix}make"

This ${dir} should be ${possible_TOOLDIR},
otherwise it looks working on Cygwin:

---

===> build.sh command: build.sh -m i386 -U -u tools
===> build.sh started: Sun Oct 26 14:33:42     2008
===> NetBSD version:   4.99.73
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   CYGWIN_NT-5.1 1.5.25(0.156/4/2) i686
===> HOST_SH:          /usr/bin/sh
===> TOOLDIR path:     /usr/src/obj/tooldir.CYGWIN_NT-5.1-1.5.25-unknown
===> DESTDIR path:     /usr/src/obj/destdir.i386
===> RELEASEDIR path:  /usr/src/obj/releasedir
===> makewrapper:      
/usr/src/obj/tooldir.CYGWIN_NT-5.1-1.5.25-unknown/bin/nbmake-i386
===> Updated /usr/src/obj/tooldir.CYGWIN_NT-5.1-1.5.25-unknown/bin/nbmake-i386
obj ===> tools

 :

---

BTW, on Cygwin, "uname -p" doesn't return error
but "unknown" strings (while "uname -m" returns i686).
Should we handle it i bsd.own.mk and build.sh?
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index