To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62801
                  Issue #:|62801
                  Summary:|GCJ as JDK : javac at berkeleydb
                Component:|porting
                  Version:|680m156
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sparcmoz
              Reported by:|sparcmoz





------- Additional comments from [EMAIL PROTECTED] Sun Mar  5 22:58:39 -0800 
2006 -------
This is only a problem where multiple different compilers exist on the builder
system:

In berkeleydb /usr/bin/javac is found but I configured for 
/usr/local/4.1/bin/gcj:

checking for javac... javac
checking if javac works... yes
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if /usr/local/4.1/bin/gij works... yes
checking for javac... /usr/bin/javac
checking absolute path of javac... /usr/bin/javac
checking symlink for /usr/bin/javac... /etc/alternatives/javac

My configured environment:
JAVACMD=/usr/local/4.1/bin/gij
JAVACOMPILER=/usr/local/4.1/bin/gcj
JAVADOC=/usr/bin/gjdoc
JAVAINTERPRETER=/usr/local/4.1/bin/gij
JAVA_HOME=/usr/local/4.1

This patch against cws_src680_maho1 will build:
Index: makefile.mk
===================================================================
RCS file: /cvs/external/berkeleydb/makefile.mk,v
retrieving revision 1.30.6.2
diff -u -r1.30.6.2 makefile.mk
--- makefile.mk 4 Mar 2006 10:56:19 -0000       1.30.6.2
+++ makefile.mk 6 Mar 2006 06:50:09 -0000
@@ -88,7 +88,9 @@
 CONFIGURE_FLAGS+=--enable-java
 .IF "$(JDK)"=="gcj"
 JAVA:=$(JAVAINTERPRETER)
-.EXPORT : JAVA
+JAVAC:=$(JAVACOMPILER)
+JAVACFLAGS:= -C
+.EXPORT : JAVA JAVAC JAVACFLAGS
 .ENDIF
 .ENDIF

But what are the correct JAVACFLAGS?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to