看板 DFBSD_bugs 關於我們 聯絡資訊
:On Sat, Oct 30, 2004 at 09:28:16PM +0200, Jeroen Ruigrok/asmodai wrote: :> It's place as a bootstrap tool is wrong by the way. :> :> Check a make buildworld log. : :I think in this instance both you and Matt are wrong. mklocale is a :bootstrap tool because it is run on the host to actually generate :the locals. Patching parts away like Matt did doesn't work in this :special case, because the tool behaves differently. : :Joerg Well, another choice is to .PATH / SRCS include libc's locale sources like we do to get getopt_long.c for gzip. That could be be pretty nasty because the locale sources are all over the map. Beyond that the only alternative I see is to greatly expand the build-tools stage to also build libc 'natively', and possibly other libraries, and then move mklocale from the bootstrap tools to the cross-tools stage where it could then take advantage of the libraries built by the build-tools stage. The word 'nasty' comes to mind. -Matt Matthew Dillon <dillon@backplane.com>