To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54657


User sparcmoz changed the following:

                  What    |Old value                 |New value
================================================================================
                        CC|'maho'                    |'cmc,maho'
--------------------------------------------------------------------------------
               Assigned to|mh                        |sparcmoz
--------------------------------------------------------------------------------
                Issue type|DEFECT                    |PATCH
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Sat Feb 18 14:29:03 -0800 
2006 -------
@cmc: please comment on this patch for building with gcj

When /usr/local/4.1/bin (path to my gcj) is in the PATH, I still need to set
JAVA. From this I conclude all other gcj building is done with a "java" command.
I think the attached patch is safe for all platforms because:
(a) it should be acceptable to explicitly set the java command instead of
guessing "java". 
(b) Only if the "java" command is absent will berkeleydb fall back to JAVA. 
(c) The configuration already sets JAVAINTERPRETER and if it is not done then
solenv/inc/settings.mk will set a value. 
(d) The patch exports JAVA derived from JAVAINTERPRETER for berkeleydb only.

building m157 on GNU/Linux sparc with the patch and /usr/local/4.1/bin in the 
PATH:
 
checking for javac... no
checking for gcj... gcj -C
checking if gcj -C works... yes
checking for jar... jar
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 gcj... /usr/local/4.1/bin/gcj
checking absolute path of gcj -C... /usr/local/4.1/bin/gcj
checking java version... 1.4.2
gij (GNU libgcj) version 4.1.0 20060217 (prerelease)


---------------------------------------------------------------------
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