Issue 64917 - [PATCH] Allow gcj builds with a non-gcj javac
Summary: [PATCH] Allow gcj builds with a non-gcj javac
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: configure (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: rene
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-30 15:04 UTC by bero
Modified: 2017-05-20 10:22 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Fix (4.75 KB, patch)
2006-04-30 15:07 UTC, bero
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description bero 2006-04-30 15:04:42 UTC
Many systems that use gcj/gij as their JDK prefer using a non-gcj javac (such 
as ecj or jikes) because gcj -C is rather slow and not exactly bugfree (e.g. 
OOo needed a lot of workarounds for 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19870).

The OOo configure script assumes that it should use gcj -C as javac 
unconditionally if the JDK is gcj/gij.

The attached patch allows it to use ecj; tested to work with 2.0.2, patch 
applies to m165.
Comment 1 bero 2006-04-30 15:07:01 UTC
Created attachment 36166 [details]
Fix
Comment 2 caolanm 2006-05-02 11:40:54 UTC
bero: see workspace "targetedaot" and issue 54692. I think that addresses the
same problem as this ? Perhaps a duplicate of that issue.
Comment 3 milek_pl 2007-10-12 12:18:22 UTC
bero, pls check if issue 54692 fixes this problem
Comment 4 rene 2010-06-22 17:53:03 UTC
this should work since loong.