public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/6917] New: locale/gen-translit.pl: move preprocessing to Makefile
@ 2008-09-27  9:56 jdemeyer at cage dot ugent dot be
  2008-09-27  9:57 ` [Bug localedata/6917] " jdemeyer at cage dot ugent dot be
  0 siblings, 1 reply; 3+ messages in thread
From: jdemeyer at cage dot ugent dot be @ 2008-09-27  9:56 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-27 21:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-6917-131@http.sourceware.org/bugzilla/>
2014-07-02  7:21 ` [Bug localedata/6917] locale/gen-translit.pl: move preprocessing to Makefile fweimer at redhat dot com
2015-08-27 21:56 ` [Bug locale/6917] " jsm28 at gcc dot gnu.org
2008-09-27  9:56 [Bug localedata/6917] New: " jdemeyer at cage dot ugent dot be
2008-09-27  9:57 ` [Bug localedata/6917] " jdemeyer at cage dot ugent dot be

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).