[prev in list] [next in list] [prev in thread] [next in thread] 

List:       icu-bugrfe
Subject:    [icu-bug] incoming/3211
From:       jtcsv () jtcsv ! com
Date:       2003-08-24 14:15:56
[Download RAW message or body]

new message incoming/3211
	URL: http://www.jtcsv.com/cgi-bin/icu-bugs?findid=3211

====> ORIGINAL MESSAGE FOLLOWS <====

From: michael_scott@mac.com
Date: Sun Aug 24 10:15:45 2003
Subject: Make fails on Mac OS X 10.2.6

Full_Name: Michael Scott
Version: 2.6
OS: unix
PROJECT: ICU4C
JAVA:   
Submission from: (NULL) (217.231.173.64)


Because of the gcc -E -MMD bug, make fails on Mac OS X 10.2.6 using gcc version
3.3 20030304 (Apple Computer, Inc. build 1435).

Here is a workaround:

cvs diff -u mh-darwin
Index: mh-darwin
===================================================================
RCS file: /usr/cvs/icu/icu/source/config/mh-darwin,v
retrieving revision 1.28
diff -u -r1.28 mh-darwin
--- mh-darwin   8 Aug 2003 23:53:43 -0000       1.28
+++ mh-darwin   24 Aug 2003 14:08:55 -0000
@@ -58,7 +58,8 @@
 %.d : $(srcdir)/%.c
        @echo "generating dependency information for $<"
        @$(GEN_DEPS.c) $< -o $@
-       @mv $@ $@~
+## workaround for gcc -E -MMD bug
+       @perl -e 'print(join("",<STDIN>)=~/^([^\0]*)/s)' < $@ > $@~ 
        @echo -n "$@ " > $@
        @cat < $@~ >> $@
        @-rm $@~

_______________________________________________
icu-bugrfe mailing list
icu-bugrfe@oss.software.ibm.com
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu-bugrfe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic