[Bug localedata/6917] New: locale/gen-translit.pl: move preprocessing to Makefile
jdemeyer at cage dot ugent dot be
sourceware-bugzilla@sourceware.org
Sat Sep 27 09:56:00 GMT 2008
The first line of locale/gen-translit.pl is the following:
open F, "cat C-translit.h.in | gcc -E - |" || die "Cannot preprocess input file"
There are two problems with this:
1) This does not detect any errors while the shell command "cat C-translit.h.in
| gcc -E -" is running. Instead, you get some obscure errors later on when
C-translit.h is using to compile something.
2) $(CPP) should be used instead of gcc -E
So my proposal would be to move this preprocessing to the Makefile and replace
gcc -E by $(CPP).
--
Summary: locale/gen-translit.pl: move preprocessing to Makefile
Product: glibc
Version: 2.8
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: libc-locales at sources dot redhat dot com
ReportedBy: jdemeyer at cage dot ugent dot be
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=6917
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list