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/06/2006 22:24:05
On Wed, Sep 06, 2006 at 12:24:24PM -0500, David Young wrote:
> On Wed, Sep 06, 2006 at 11:27:45AM +0200, Kurt Schreiner wrote:
> > [...]
> > The cheap trick would be to just #define __inline /*nothing*/
> > in src/usr.sbin/makefs/cd9660.c somewhere but what would be
> > TRT(C) to do in this case?
>
> That's not the right thing to do.
What I said... ;-)
> Where does sys/cdefs.h come from?
Hm, no idea, yet. I'll try to trace another build...
> Surely it is not supposed to be empty?
Hm, I really have no idea. But there are more empty header files -
without negative effects on cross compiling AFAICS. So maybe it's
(supposed to be) ok?
> find /u/NetBSD/arch/i386/obj/tools -size 0 -name \*.h
/u/NetBSD/arch/i386/obj/tools/compat/include/sys/bswap.h
/u/NetBSD/arch/i386/obj/tools/compat/include/sys/cdefs.h
/u/NetBSD/arch/i386/obj/tools/compat/include/sys/featuretest.h
/u/NetBSD/arch/i386/obj/tools/compat/include/machine/bswap.h
/u/NetBSD/arch/i386/obj/tools/compat/include/machine/endian.h
/u/NetBSD/arch/i386/obj/tools/compat/include/err.h
/u/NetBSD/arch/i386/obj/tools/compat/include/paths.h
/u/NetBSD/arch/i386/obj/tools/compat/include/util.h
Kurt