Hi. I have a patch to make lilypond 2.3 build on OS X/Darwin. I sent this to the wrong place first, sorry about that. Patch is below. Also, when I do a 'cvs update' I get lily/input-file-results.cc as a zero length file. The log says that the file has been removed. Is this just me?

Thanks,
David

Index: stepmake/stepmake/c++-rules.make
===================================================================
RCS file: /cvsroot/lilypond/lilypond/stepmake/stepmake/c++-rules.make,v
retrieving revision 1.9
diff -u -r1.9 c++-rules.make
--- stepmake/stepmake/c++-rules.make 18 Sep 2003 10:05:05 -0000 1.9
+++ stepmake/stepmake/c++-rules.make 22 Apr 2004 19:06:23 -0000
@@ -26,3 +26,6 @@


$(outdir)/%.cc: %.ll
$(FLEX) -Cfe -p -p -o$@ $<
+ifeq ($(shell uname),Darwin)
+ perl -i -pe 's/^class istream;/#include <iostream>;\nusing namespace std;/' $@
+endif
Index: stepmake/stepmake/compile-vars.make
===================================================================
RCS file: /cvsroot/lilypond/lilypond/stepmake/stepmake/compile-vars.make,v
retrieving revision 1.2
diff -u -r1.2 compile-vars.make
--- stepmake/stepmake/compile-vars.make 18 Jul 2002 00:36:15 -0000 1.2
+++ stepmake/stepmake/compile-vars.make 22 Apr 2004 19:06:23 -0000
@@ -3,7 +3,11 @@
ALL_LDFLAGS = $(LDFLAGS) $(ILDFLAGS) $(EXTRA_LDFLAGS) $($(PACKAGE)_LDFLAGS) $(MODULE_LDFLAGS) $(USER_LDFLAGS)


 PIC_FLAGS = -fpic -fPIC
+ifeq ($(shell uname),Darwin)
+SHARED_FLAGS = -bundle -flat_namespace -undefined suppress
+else
 SHARED_FLAGS = -shared
+endif

o-dep-out = $(outdir)/$(subst .o,.dep,$(notdir $@))#
DO_O_DEP = rm -f $(o-dep-out); DEPENDENCIES_OUTPUT="$(o-dep-out) $(outdir)/$(notdir $@)"


--
David Brandon/[EMAIL PROTECTED]



_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to