Subject: recompiling libc on NetBSD 1.5.2
To: None <netbsd-help@netbsd.org>
From: rusmas <rusmas@wp.pl>
List: netbsd-help
Date: 02/19/2002 13:37:16
	Recently I tried to compile X-Windows 4.2.0 on NetBSD
1.5.2. Command make World outputed lots of errors with libXaw:
undefined reference to wctype.h. When I've dowmloaded wctype.h
and put it in /usr/include, other errors ocurred, refering 
to libc missing file, e.g.:
../../exports/lib/libXaw.so: undefined reference to `wcslen'
../../exports/lib/libXaw.so: undefined reference to `wcscpy'
../../exports/lib/libXaw.so: undefined reference to `wcsncpy'
collect2: ld returned 1 exit status
*** Error code 1 (continuing)
	I've noticed, that my libc from standard installation hasn't 
lot of files included in netbsd-current packages.
	My questions are:

1. How to get libc sources?
2. What is libc compilation procedure?
3. What is the difference between glibc and libc in NetBSD?
4. Are there any FAQ about libc?

	Best regards, 
	rusmas