View Bug Activity | Format For Printing
When cross-compiling glibc the locales and zoneinfo aren't installed. For installing the timezone/zoneinfo stuff. A runable zic is needed. I'm going to attach a patch that builds zic-host and then zic-host is run when cross-compiling. I know that this patch probably doesn't build zic-host the proper way but, The concept is still there. I've been trying to do the same thing for localedef. Build localedef-host and use that to install the locales. But so far I've been unsuccesful.
Created an attachment (id=1118) Creates zic-host when cross-compiling and uses it to install timezone info.
The same problem also applies to rpcgen-generated files and librpcsvc. CodeSourcery has patches (to glibc 2.3) to support generating locales when cross-compiling. They will be included in the toolchains for ColdFire GNU/Linux we plan to release. Substantial changes are required, even if you can presume the build system is running GNU/Linux; we have presumed that such substantial changes in support of cross-compilation would not be accepted upstream. http://www.codesourcery.com/gnu_toolchains/coldfire/ Patches have also previously been produced elsewhere for a cross-rpcgen, but I don't have details handy.
I'm not adding any cross-compile support.