Subject: Re: Problems with MKSTATICLIB=no &c
To: None <tech-toolchain@NetBSD.org>
From: James Chacon <jmc@NetBSD.org>
List: tech-toolchain
Date: 07/01/2004 11:34:43
On Mon, Jun 14, 2004 at 05:15:09PM +0400, Valeriy E. Ushakov wrote:
> I'm trying to do a diet build to put on my Jornada (hpcsh) CF card.
> Among other things it has:
> 
> MKLINT=no
> MKSTATICLIB=no
> MKPICINSTALL=no
> MKPROFILE=no
> 
> The problem is that bsd.prog.mk has an explcit dependency on libc.a:
> 
>     ${PROG}: ... ${LIBC} ...

Could you file a toolchain PR for this? (That way it's not forgotten)

James

> 
> so, e.g.
> 
>     $ cd bin/echo
>     $ /usr/nbcf/tools/bin/nbmake-hpcsh all
>     nbmake: don't know how to make /usr/nbcf/distrib/hpcsh/usr/lib/libc.a. Stop
> 
> 
> 
> Another minor problem is lib/libl that has NOPIC= defined.  I'm not
> sure what's the best way to deal with it.  Probably if MKLINKLIB=yes
> the logical thing is to install libl.a anyway, despite MKSTATICLIB=no.
> 
> 
> SY, Uwe
> -- 
> uwe@ptc.spbu.ru                         |       Zu Grunde kommen
> http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen
> 
>