Re: [PATCH, NLS] try to search relative dir

2014-07-25 Thread Joseph S. Myers
On Mon, 7 Jul 2014, Zhenqiang Chen wrote: The patch tries to search relative dir ../share/locale from gcc. Although it can not cover all cases, I think it can cover most cases. That's not how to use make_relative_prefix. You want e.g. make_relative_prefix (argv[0], standard_bindir_prefix,

[PATCH, NLS] try to search relative dir

2014-07-07 Thread Zhenqiang Chen
Hi, LOCALEDIR seams a build-time constant, which is an absolute path. But * When releasing gcc binaries as a tarball, users can put it at any dir. * For Canadian build, the dir layout on the build machine might be different from the host machine. For such cases, gcc most likely can not find the