You are not logged in.

#1 2004-05-17 08:11:13

bobzomer
Member
Registered: 2004-05-11
Posts: 14

Gcc with Java enabled

What about including java into gcc? Or making a extra package to add java support in gcc?
I'm a big java user and fan, but I need a tue compiler...

Offline

#2 2004-05-17 18:03:55

yak8998
Member
Registered: 2004-03-01
Posts: 143

Re: Gcc with Java enabled

ah, whats wrong with the j2sdk package? The compiler seems fast enough to me (i'd classify myself as intermediate, but I've played with a couple other compilers and I don't notice a difference.)

I'll play around with this when I get back home though.

PS - one more person who uses java and arch - we need a java forum!!!


"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols

Offline

#3 2004-05-17 19:45:45

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Gcc with Java enabled

yak8998 wrote:

ah, whats wrong with the j2sdk package? The compiler seems fast enough to me (i'd classify myself as intermediate, but I've played with a couple other compilers and I don't notice a difference.)

I'll play around with this when I get back home though.

PS - one more person who uses java and arch - we need a java forum!!!

yes, but let's call it codeunderarch so that not only java can be the subject


The impossible missions are the only ones which succeed.

Offline

#4 2004-05-17 21:13:24

bobzomer
Member
Registered: 2004-05-11
Posts: 14

Re: Gcc with Java enabled

ah, whats wrong with the j2sdk package? The compiler seems fast enough to me (i'd classify myself as intermediate, but I've played with a couple other compilers and I don't notice a difference.)

Yes, but I need to make some true binary. I mean, j2sdk can make pretty good bytecode, which can be run with java interpreter. But I need a compiler which can make standalone application, like gcj does.

Offline

#5 2004-05-17 21:27:50

yak8998
Member
Registered: 2004-03-01
Posts: 143

Re: Gcc with Java enabled

http://gcc.gnu.org/java/

What do you think? I'll make a package in a little (or try at least, I didn't look at it much).


"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols

Offline

#6 2004-05-17 22:07:47

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Gcc with Java enabled

yak8998 wrote:

http://gcc.gnu.org/java/

What do you think? I'll make a package in a little (or try at least, I didn't look at it much).

good luck - keep posting what you tried; people around can help


The impossible missions are the only ones which succeed.

Offline

#7 2004-05-19 19:28:17

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: Gcc with Java enabled

I had a package for GCC 3.3 but haven't build one yet for 3.4
It's very very promising, though it is still sort of a wrapper ...


apt-get install arch

Offline

#8 2004-05-20 00:34:56

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Gcc with Java enabled

Couldn't we provide the regular gcc as the distro default but provide a gcc+f77 or a gcc-java that replaces the default gcc?  Using the "replaces=" in the PKGBUILD?  I suppose you'd need a virtual dependency "compiler" or something like that.  Then those who want their pet language can have it.  Or is it too involved?

Offline

#9 2004-05-20 00:51:23

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Gcc with Java enabled

kpiche wrote:

Couldn't we provide the regular gcc as the distro default but provide a gcc+f77 or a gcc-java that replaces the default gcc?  Using the "replaces=" in the PKGBUILD?  I suppose you'd need a virtual dependency "compiler" or something like that.  Then those who want their pet language can have it.  Or is it too involved?

that was what i did to have r on my machine before f2c came ... the thing is that a gcc with f77 enabled is telling pkgs you built against sometimes that they can use f77 .... so you have to make pkgs you compile with gccf77 depended on it and not on gcc :-(

the idea is to make gcc with and without f77 and then take the diff and make a pkg out of it, but no time now to play with such things - if anyone want to try, would be great


The impossible missions are the only ones which succeed.

Offline

#10 2004-05-20 12:15:38

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Gcc with Java enabled

Ah yes.  Does the main gcc binary change depending on the languages included though?  Is gcc(c,c++) vs gcc(c,c++,f77) different?

Offline

#11 2004-05-20 14:25:16

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Gcc with Java enabled

kpiche wrote:

Ah yes.  Does the main gcc binary change depending on the languages included though?  Is gcc(c,c++) vs gcc(c,c++,f77) different?

no, i dont think so, but pkgs built with gcc(c,c++,f77) may need gcc(c,c++,f77) to work --- but if you build them with gcc(c,c++) then they work also only with gcc(c,c++) ... not all, but some - that's why a gcc-f77 pkg is the best way (besides messing with gcc :-) )


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB