Subject: Re: bin/12017: how to enable multibyte locale (and problem around it)
To: None <firstname.lastname@example.org>
From: Noriyuki Soda <email@example.com>
Date: 01/24/2001 13:01:08
> >You mean for statically linked binaries?
> yes. we need a netbsd-standard way to disable linkage of multilingual
> locale library
If we can call dlopen(3) from statically linked binary,
we should ship libc.a without multibyte locale modules.
But because we currently cannot do it, so ...
> 1a. ship libnolocale.a so that binaries with -lnolocale can
> inhibit multibyte locale stuff
This one, or
1c. ship libc.a with multibyte locale disabled.
ship liblocale.a so that binaries with -llocale can
enable multibyte locale stuff
this one may be best.
I'm not sure which is better.
It seems only /bin/ls and /bin/date need multibyte locale for now.
(although I may miss some....)
> - dynamic linked library, but wants no multilingual locale code to be
If dynamically linked binaries always call dlopen(3) for multibyte
locale module, there is no code bloat for dynamically linked modules.