public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/27910]  New: building fails due essentially to bad /bin/ksh on darwin
@ 2006-06-06  7:55 Denis dot Excoffier at airbus dot com
  2006-06-06  8:08 ` [Bug libgcj/27910] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Denis dot Excoffier at airbus dot com @ 2006-06-06  7:55 UTC (permalink / raw)
  To: java-prs

In order to build correctly in libjava and libjava/classpath, i had to:
1) in libjava/classpath/lib/Makefile.gcj, replace $(SHELL) by /bin/sh
2) in libjava/classpath/lib/gen-classlist.sh.in, replace the four occurrences
of "while read pkg file" with an appropriate awk sentence (eg for the first
one: awk '{ pkg=$1; file=$2; printf("%s %s %s/%s\n", pkg, dir, pkg, file); }'
dir=@top_srcdir@ -)
3) in libjava/Makefile.in, replace "cat tmp-ilist | while read f; do" with "for
f in `cat tmp-ilist`; do"

It seems that the read built-in in darwin ksh does not read a line, but 4096
bytes.


-- 
           Summary: building fails due essentially to bad /bin/ksh on darwin
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Denis dot Excoffier at airbus dot com
 GCC build triplet: powerpc-apple-darwin8.2.2
  GCC host triplet: powerpc-apple-darwin8.2.2
GCC target triplet: powerpc-apple-darwin8.2.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27910


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

end of thread, other threads:[~2006-06-06  8:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06  7:55 [Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin Denis dot Excoffier at airbus dot com
2006-06-06  8:08 ` [Bug libgcj/27910] " pinskia at gcc dot gnu dot org
2006-06-06  8:33 ` Denis dot Excoffier at airbus dot com
2006-06-06  8:37 ` pinskia at gcc dot gnu dot org

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