Subject: Re: Failure to build src on NetBSD-1.6.1
To: vasant kanchan <>
From: Jaromir Dolecek <>
List: tech-toolchain
Date: 04/28/2003 18:44:03
Normal procedure is to:

1. add to /etc/mk.conf

TOOLDIR= /your/tool/dir


./ -T /your/tool/dir -t

3. make somewhere in the tree

If you _really_ want to avoid using the separately built
toolchain (bad idea), add:


to your /etc/mk.conf instead.

If you want to build /sbin/ and /bin/ dynamic, comment
out LDSTATIC= -static in src/sbin/ and/or


vasant kanchan wrote:
> Hi,
> I just installed NetBSD-1.6.1 on a i386 platform
> successfully. I also downloaded src and was trying
> to buils just the lib/libz libraries. Unfortunatley
> build failed as the makefile was looking for
> i386-netbsdelf-gcc in the tools.NetBSD* directory.
> So what is the compile procedure ?. Also I noticed
> that the command ls is built static. How can rebuild
> it dynamic ?. I need a small executable to move into
> a flash card.
> Regards
> Kanchan
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

Jaromir Dolecek <>  
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-