Subject: Problems with MKSTATICLIB=no &c
To: None <tech-toolchain@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-toolchain
Date: 06/14/2004 17:15:09
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} ...

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