pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Re: ANN: Pan 0.120 "Plate of Shrimp"


From: Rinaldi J. Montessi
Subject: Re: [Pan-users] Re: ANN: Pan 0.120 "Plate of Shrimp"
Date: Thu, 04 Jan 2007 13:24:08 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a2pre) Gecko/20070102 Mnenhy/0.7.4.0 SeaMonkey/1.5a

Kevin Brammer wrote:
Where is it again that you fix the scorefile-test problem when
compiling?  My CFLAGS/CXXFLAGS are empty.  Running gcc 3.4.6, still
sucks up all system resources.

I have a patch that Per Hedeland wrote and sent me when I asked what his workaround was.

I don't know if this server allows attachments so I'll include it in the body. Watch line wrap.

--- pan/data/Makefile.ORIG      Tue Aug  8 23:46:41 2006
+++ pan/data/Makefile   Tue Aug  8 23:44:24 2006
@@ -335,6 +335,11 @@
 include ./$(DEPDIR)/xref-test.Po
 include ./$(DEPDIR)/xref.Po

+scorefile-test.o: scorefile-test.cc
+       compile=`echo $(CXXCOMPILE) | sed 's/-O2//'`; \
+       if $$compile -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+
 .cc.o:
        if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi

Rinaldi
--
Dawn, n.:
        The time when men of reason go to bed.
                -- Ambrose Bierce, "The Devil's Dictionary"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]