Subject: Re: bin/12017: how to enable multibyte locale (and problem around it)
To: None <gnats-bugs@gnats.netbsd.org (NetBSD GNATS submissions and>
From: None <itojun@iijlab.net>
List: netbsd-bugs
Date: 01/22/2001 09:32:38
>	drawback is that you will have all locale handling code linked into
>	your static library, once you use printf().  printf pulls in mbrtowc,
>	and it will pull in EUC/UTF2/UTF8/whatever handling code as a result.
>	if we want a option to compile a binary with no locale support,
>	we may want to ship libnolocale.a or whatever to override locale code.
>	(i don't know what is the common practice for this.  i remember
>	freebsd shipped multibyte locale in libxpg4, however it looked bogus
>	and was not a standard practice)

	the above issue is removed (printf no longer pull in multibyte locale
	stuff, a call to setlocale does), so static binaries (without need for
	multibyte locale stuff) will not have to link extra *.o.

itojun