Subject: adding TOOL_SED
To: None <tech-toolchain@NetBSD.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-toolchain
Date: 06/17/2006 00:33:49
I've added TOOL_SED to allow me to cross compile m68k on Solaris 10.

The questions I have are:

1) should I commit this, or does someone want to review diffs first? 
(and if so, who?)

2) sed wants to be able to use TIOCGWINSIZE to get the window size.  Of
course, the struct winsize is not in the same place on all OS'.  I don't
think this is useful for cross-compiling, and I've just wrapped the code
with #ifndef HAVE_NBTOOL_CONFIG_H.   Is this acceptable, or should I go
and add the brains to configure.ac to actually figure out if the struct
is there and if so in which header?  I'd rather not much with
configure.ac if I can help it, of course.

Thanks.

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