public inbox for libc-locales@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; 4+ messages in thread
From: jdemeyer at cage dot ugent dot be @ 2008-09-27  9:56 UTC (permalink / raw)
  To: libc-locales

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 the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <bug-6917-716@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-07-02  8:00 UTC | newest]

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

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).