lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vic Bancroft <>
Subject gjc compile
Date Sat, 03 Jun 2006 03:35:57 GMT
The following diff seemed to help build a nice native binary in my 
fedora. The first modification makes using the new core archive file 
name and the second avoids a problematic class . . .

[bancroft@orca lucene-trunk]$ svn diff

Index: src/gcj/Makefile


--- src/gcj/Makefile    (revision 410910)

+++ src/gcj/Makefile    (working copy)

@@ -8,7 +8,7 @@



-CORE_OBJ:=$(subst .jar,.a,$(wildcard $(BUILD)/lucene-[0-9]*.jar))

+CORE_OBJ:=$(subst .jar,.a,$(wildcard $(BUILD)/lucene-core-[0-9].*.jar))

 CORE_JAVA:=$(shell find $(ROOT)/src/java -name '*.java')


@@ -55,7 +55,7 @@

 # yet accept from .class files.

 # NOTE: Change when is fixed. $(CORE_OBJ)

-       $(GCJ) $(GCJFLAGS) -c -I $(CORE) -o $@ `find $(ROOT)/src/java -name '*.java' -not
-name '*Sort*' -not -name 'Span*'` `find $(CORE) -name '*.class' -name '*Sort*' -or -name

+       $(GCJ) $(GCJFLAGS) -c -I $(CORE) -o $@ `find $(ROOT)/src/java -name '*.java' -not
-name '*Sort*' -not -name 'Span*'  -not -name 'FieldCache*'` `find $(CORE) -name '*.class'
-name '*Sort*' -or -name 'Span*' -or -name 'FieldCache*'`

 # generate object code from jar files using gcj

 %.a : %.jar

# -- 
# "The future is here. It's just not evenly distributed yet."
# -- William Gibson, quoted by Whitfield Diffie

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message