public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Compiling Netbeans with GCJ?
       [not found] <C9F98626.42A0%sean.mcguffee@gmail.com>
@ 2011-05-18 18:27 ` Andrew Haley
  2011-05-18 19:37   ` Dr Andrew John Hughes
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Haley @ 2011-05-18 18:27 UTC (permalink / raw)
  To: Sean Robert McGuffee; +Cc: java

On 05/18/2011 07:20 PM, Sean Robert McGuffee wrote:
> Is the Classpath library that gcj uses something that could be updated to
> have everything Netbeans needs? Netbeans has grown on me in functionality.
> It's just that it uses like 2 gigs of memory and is often very slow when
> many files are open. I imagine if there ever were a case for gcj's
> existence, a non-interpreted version of Netbeans might be it.

Please don't top-post on the gcc lists.

Sure, Classpath could be updated to have everything Netbeans needs,
but it might be a multi-year task; I just don't know.  I also don't
know if a gcj-compiled version of Netbeans might really be
faster/smaller than running on OpenJDK.  Probably not.

Andrew.


> On 5/18/11 4:34 AM, "Andrew Haley" <aph@redhat.com> wrote:
> 
>> On 17/05/11 19:16, Sean Robert McGuffee wrote:
>>> Hi, 
>>> Has anyone compiled netbeans with gcj?
>>> If so, can you please post your method?
>>
>> I don't think so.
>>
>> I'm sure gcj could compile Netbeans, but I am not at all sure that
>> the Classpath library that gcj uses has everything Netbeans needs.
>> Definitely not a first gcj project.
>>
>> Andrew.
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compiling Netbeans with GCJ?
  2011-05-18 18:27 ` Compiling Netbeans with GCJ? Andrew Haley
@ 2011-05-18 19:37   ` Dr Andrew John Hughes
  0 siblings, 0 replies; 2+ messages in thread
From: Dr Andrew John Hughes @ 2011-05-18 19:37 UTC (permalink / raw)
  To: Andrew Haley; +Cc: Sean Robert McGuffee, java

On 19:26 Wed 18 May     , Andrew Haley wrote:
> On 05/18/2011 07:20 PM, Sean Robert McGuffee wrote:
> > Is the Classpath library that gcj uses something that could be updated to
> > have everything Netbeans needs? Netbeans has grown on me in functionality.
> > It's just that it uses like 2 gigs of memory and is often very slow when
> > many files are open. I imagine if there ever were a case for gcj's
> > existence, a non-interpreted version of Netbeans might be it.
> 
> Please don't top-post on the gcc lists.
> 
> Sure, Classpath could be updated to have everything Netbeans needs,
> but it might be a multi-year task; I just don't know.  I also don't
> know if a gcj-compiled version of Netbeans might really be
> faster/smaller than running on OpenJDK.  Probably not.
> 

As a warning, NetBeans is so untested with anything but the Oracle-produced JDK binaries
that it doesn't even seem to play well with OpenJDK:

http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=681
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=691

which is supposed to be mostly the same code.

The first thing to try is to see if it will run with a Classpath-based VM such as gij,
JamVM or CACAO.  It'll be slow, but that will tell you what kind of issues you're going
to hit.

As Andrew implies though, not for the faint-hearted.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-18 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <C9F98626.42A0%sean.mcguffee@gmail.com>
2011-05-18 18:27 ` Compiling Netbeans with GCJ? Andrew Haley
2011-05-18 19:37   ` Dr Andrew John Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).