Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Has anybody sucessfully build sun jdk on sparc?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
millermiller
n00b
n00b


Joined: 26 May 2005
Posts: 52

PostPosted: Mon Jun 13, 2005 8:34 am    Post subject: Has anybody sucessfully build sun jdk on sparc? Reply with quote

or we only have blackdown supported on sparc?
Can I simply download the source from sun and build on sparc linux?

Thanks,
_________________
Free as in Freedom
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Mon Jun 13, 2005 12:37 pm    Post subject: Reply with quote

You can't download the sources from sun, who said it was open source?
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Jun 13, 2005 3:42 pm    Post subject: Reply with quote

We can download Sun's JDK out of Sun's site through its academic licence (JRL):
http://java.sun.com/j2se/1.5.0/download.jsp

Or, you can download it through SCSL licence. However, for Java JDK 1.5.0, you'll need Java 1.4.2 installed already. In Linux Sparc, the latest JDK is Blackdown's JDK 1.4.1. So, we're SOL. Not only that, I've tried patching the 1.4.2-ness by going through hoops, it still hell to compile.

I hacked the source code sometime ago, but it fails to compile. It needs weird requirements to build too, such as the GCC version must be 2.95 and so forth. I'd love to see JDK 1.5 runs in Linux Sparc, though. I'm not quite sure how the Blackdown folks do. It's been a while.
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Mon Jun 13, 2005 3:48 pm    Post subject: Reply with quote

That's not the complete source, just the JRL, check the facts :)
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Jun 13, 2005 4:06 pm    Post subject: Reply with quote

No. It's the complete source, unless you're building on the Solaris. The binary package that you need to download is just a bunch of icons, fonts, and default sound files (WAVs). Of course you'll need this to be incorporated so that Swing can be run well. For Solaris binaries, they are essentially kernel patches for Java video handling. Other than this, there are no other executables. So, you can build it when you have the resources.
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Mon Jun 13, 2005 7:50 pm    Post subject: Reply with quote

Interesting, but i kinda doubt sun's source includes blackdown's ABI stuff for ppc/sparc linux for instance...
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Tue Jun 14, 2005 12:18 am    Post subject: Reply with quote

gust4voz wrote:
Interesting, but i kinda doubt sun's source includes blackdown's ABI stuff for ppc/sparc linux for instance...


No, it's not. Blackdown's source is not open, perhaps due to the contract they must sign. The ABI for Java should be pretty much the same across platforms except for low-level stuffs (like calls to video drivers or whatnot). But we can start from somewhere. Unsure about the amount of works for that low-level stuffs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum