Bug 26593 - libgcjawt should be built even if the gtk peers aren't
Summary: libgcjawt should be built even if the gtk peers aren't
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 27555
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-07 13:04 UTC by bero
Modified: 2016-09-30 22:54 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Build libgcjawt when using Qt peers (400 bytes, patch)
2006-03-07 13:06 UTC, bero
Details | Diff
Patch for gcc adding support for the Qt classpath_jawt bits from bug 27555 to libjava (2.88 KB, patch)
2006-05-27 15:31 UTC, bero
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bero 2006-03-07 13:04:02 UTC
Currently, libgcjawt (used, among other things, by OpenOffice.org) is built only if the gtk peers are used.

Looks like the classpath guys have already fixed it to work with other peers, but the Makefiles need updating.
Comment 1 bero 2006-03-07 13:06:14 UTC
Created attachment 10980 [details]
Build libgcjawt when using Qt peers

Attaching patch, currently tested only in a "It compiles, therefore it works(R)" fashion.

[(R) indicates a registered trademark of Microsoft's QA department]
Comment 2 Andrew Pinski 2006-03-07 13:35:09 UTC
Hmm, shouldn't libgcjawt built even without the peers selected as someone might have their own peers to install after GCJ was install? (this is directed towards the reporter)
Comment 3 bero 2006-05-01 17:50:12 UTC
Agreed, should be built in any case (which is apparently done correctly in current trunk).

trunk still has the problem that the classpath_jawt_* functions are defined for the gtk peer only; an implementation for the qt and xlib peers is needed to make libgcjawt useful.
Comment 4 bero 2006-05-27 15:30:11 UTC
After some digging around, the other peers need an implementation of classpath_jawt for this to work -- I've attached a working implementation for the Qt peer to classpath bug #27555
Comment 5 bero 2006-05-27 15:31:34 UTC
Created attachment 11521 [details]
Patch for gcc adding support for the Qt classpath_jawt bits from bug 27555 to libjava
Comment 6 Andrew Pinski 2016-09-30 22:54:24 UTC
Closing as won't fix as libgcj (and the java front-end) has been removed from the trunk.