Subject: Re: cross compile on solaris fails using SunStudio Compiler
To: None <current-users@NetBSD.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 09/05/2006 21:02:07
On Tue, Sep 05, 2006 at 07:31:06PM +0200, Alan Barrett wrote:
> On Tue, 05 Sep 2006, Kurt Schreiner wrote:
> > im trying to cross compile -current on a solaris 11 box (for i386 today ;-)
> > and there's seems to be a serious(?) problem:
> >
> > compile makefs/cd9660.lo
> > "/u/NetBSD/src/tools/makefs/../../usr.sbin/makefs/cd9660.c", line 104: warning: syntax error: empty declaration
>
> src/tools/Makefile builds gcc before building makefs, but it's still
> using the host compiler instead of the new gcc to build makefs.
> This seems like a bug in the tools build.
Hm, I don't think so, as this surfaces when makefs is build as a tool for
the host system (solaris sparc in this case) - and the new gcc compiles
for the target (i386)...
Kurt