Subject: Re: gcc trying to configure as unknown-unknown-netbsd1.6ZK
To: john heasley <heas@shrubbery.net>
From: Chris Tribo <ctribo@college.dtcc.edu>
List: current-users
Date: 04/28/2004 17:46:01
On Mon, 26 Apr 2004, john heasley wrote:
> Mon, Apr 26, 2004 at 09:24:41AM -0400, Chris Tribo:
> >
> > Can anyone point out my stupid mistake? What am I missing? sources
> > are current, but gcc keeps trying to use unkown-unknown-netbsd1.6ZK as
> > the host type.
>
> I had this problem a few days ago. It appears that build.sh uses syctl
> to determine the host type, but sysctl was not working since the kernel
> was new and userland was from prior to the sysctl overhaul.
>
> iirc, passing -m to build.sh did the trick.
Building a new kernel without build.sh and the snapshot comp.tgz
set fixed it. Thanks for the hint about sysctl!
--
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
-- Arno Schaefer