Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

GCJ information required

Thread view: 
Wills - 20 Aug 2007 11:05 GMT
Hi,
   Where to download the binaries of recent GCJ for java.Is it
bundled with GCC?If so I could find only the source of recent GCC, all
the links lead to the same pages.I need to develop a GUI program using
GCJ and Java.
Thanks in advance.
Wills.
Andrew Thompson - 20 Aug 2007 13:07 GMT
>Hi,
>    Where to download the binaries of recent GCJ for java.

Did you try that whole 'google' thing suggested
on a thread that you recently started?  
<DWS>Dunno', it may just be a passing FAD,
but it seems to throw up some useful information
that anybody who wants to ask a *smart*
*question* would not want to ignore.
</DWS>

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Arne Vajhøj - 21 Aug 2007 00:51 GMT
>     Where to download the binaries of recent GCJ for java.Is it
> bundled with GCC?If so I could find only the source of recent GCC, all
> the links lead to the same pages.I need to develop a GUI program using
> GCJ and Java.

Any Linux distro should have an easy way of getting GCC on it.

For Windows you can get mingw32.

GCC comes with gcj.

Why you want to use gcj I do not understand, because it is
not a particular good implementation.

Arne
Wills - 21 Aug 2007 07:16 GMT
> Why you want to use gcj I do not understand, because it is
> not a particular good implementation.
>
> Arne
Thanks Arne.
 You are right, but even if GCJ  support some minimal number of swing
components, I can compile the Java programs natively.This may improve
the performance of the java program and I cannot afford to buy
JET .That is why I am interested in GCJ, its features ,etc.
Thanks.
Thomas Kellerer - 21 Aug 2007 11:42 GMT
Wills wrote on 21.08.2007 08:16:
>> Why you want to use gcj I do not understand, because it is
>> not a particular good implementation.
[quoted text clipped - 6 lines]
> JET .That is why I am interested in GCJ, its features ,etc.
> Thanks.

I don't think it will improve your performance. With a modern JVM (1.5 or 1.6)
your code will be compiled into native code quite quickly, probably with a
better chance of optimisation than a static compiler could do.

But if get it working, post your results here. I'd be interested (mainly if I am
proven wrong or right ;) )

Thomas
Arne Vajhøj - 24 Aug 2007 02:10 GMT
>> Why you want to use gcj I do not understand, because it is
>> not a particular good implementation.
>   You are right, but even if GCJ  support some minimal number of swing
> components, I can compile the Java programs natively.This may improve
> the performance of the java program and I cannot afford to buy
> JET .That is why I am interested in GCJ, its features ,etc.

It will not improve performance.

Results from a simple benchmark I use:

gcj 3.4.4        11,0
SUN 1.6.0 -client    14,1
gcj 3.4.4 -O3        20,2
SUN 1.4.2 -client    20,7
SUN 1.5.0 -client    24,7
SUN 1.4.2 -server    40,8
SUN 1.5.0 -server    54,8
SUN 1.6.0 -server    60,8

(higgher = better)

Arne
ldv@mail.com - 25 Aug 2007 09:52 GMT
> > Why you want to use gcj I do not understand, because it is
> > not a particular good implementation.
[quoted text clipped - 7 lines]
> JET .That is why I am interested in GCJ, its features ,etc.
> Thanks.

If your project is non-commercial, you may qualify for a free
Excelsior JET license:

http://www.excelsior-usa.com/jetpricing.html#non-comm

But even if you are developing those Java apps to make money, do
contact Excelsior, they a reasonable people and would likely trade a
license for something valuable to them. For instance, they are used to
give free licenses to most active beta testers.

LDV
Roedy Green - 21 Aug 2007 11:25 GMT
On Mon, 20 Aug 2007 03:05:16 -0700, Wills
<wills.kingspanama@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>    Where to download the binaries of recent GCJ for java.Is it
>bundled with GCC?If so I could find only the source of recent GCC, all
>the links lead to the same pages.I need to develop a GUI program using
>GCJ and Java.

see http://mindprod.com/jgloss/gcj.html
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.