File:  [NetBSD Developer Wiki] / wikisrc / projects / project / static-locale.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Mon Nov 12 01:37:31 2018 UTC (12 months, 1 week ago) by christos
Branches: MAIN
CVS tags: HEAD
new project for static locale

[[!template id=project

title="Statically linked locales for libc"

contact="""
[christos](mailto:christos@NetBSD.org),
[tech-userlevel](mailto:tech-userlevel@NetBSD.org)
"""

category="userland"
difficulty="easy"
duration="1 month"

description="""
The Citrus local code in NetBSD's libc stores the locale data and code
in shared object files. Dynamic linking is used to load the code
by name using dlopen(3). The static libc build (libc.a) can't use dlopen(3)
to open locales and it only supports the C locale which is hard-coded.

This project is about adding make(1) rules to compile all the locales in libc
and code to select each one by name. The same technique is used in
libpam (libpam.a).

"""
]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb