Subject: crossbuilding of -current fails on Solaris
To: None <>
From: Garrett D'Amore <>
List: tech-toolchain
Date: 07/21/2006 10:19:26
From a freshly updated (cvs update -dP) source tree:

./ -T ${METEOR_TOOLS} -m sparc tools kernel=GENERIC

echo 'SYSTEM_HEADER_DIR="'"`echo
| /import/meteor/tools/SunOS-i386/bin/nbsed  -e :a -e "s,[^/]*/\.\.\/,,"
-e ta`"'"' \
sed: 1: "s,[": unbalanced brackets ([])
/bin/sh: : cannot execute
/bin/sh: /]*/../,, -e ta: not found
nbgmake[1]: *** [install-mkheaders] Error 1
nbgmake[1]: Leaving directory
nbgmake: *** [install-gcc] Error 2

(Note I hardcoded the path to "nbsed" in the gcc4/gcc/ after
my native sed had problems.  I thought maybe it was a problem with
native sed.  Now I think there is a shell expansion problem.)

Any advice would be appreciated.  I can't build stuff at the moment.

Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
Phone: 951 325-2134  Fax: 951 325-2191