Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eclipse
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
sdunne
n00b
n00b


Joined: 02 Sep 2003
Posts: 72
Location: London, UK

PostPosted: Tue Apr 13, 2004 2:57 pm    Post subject: Eclipse Reply with quote

Is eclipse supported on sparc yet ??

I've tried emerging eclipse-jdt-bin and eclipse-platform-bin, but the /opt/eclipse/eclipse created just won't run.

Quote:
plugh /opt/eclipse # ./eclipse
-bash: ./eclipse: cannot execute binary file
plugh /opt/eclipse #


It appears to be a binary if you look into the file, but I'm a little suspicious it's the wrong type of binary. First 4 chars in the file are 0x7f, E,L,F. Does that look OK for a sparc binary ?
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Tue Apr 13, 2004 5:05 pm    Post subject: Reply with quote

As of pretty recently, there is no out of the box version of Eclipse for
sparc linux.

The trivial problem is that there is no eclipse program file for sparc linux;
more vexing is that there are no shared libraries for sparc linux.

That said: if you really want eclipse for sparc linux, you can build your
own. You will need to start with the source distribution and tear it apart to
add sparc linux support. This is fairly tedious, and you should expect to
spend a couple days at it, but the end result runs. Hardest part is chasing
down the pieces you need to build the libraries.

To get you started, here is what I finally came up with as the pieces you
need:
Code:

ferris@lacewing:SOURCES/ECLIPSE/PLAT_SRC [256]% ls
total 676
  4 ./             44 atk_structs.c    4 library/         276 os.c            4 swt_awt.c
  4 ../             8 atk_structs.h    4 make_common.mak    4 os.h           88 xpcom.cpp
  8 Makefile        4 build.sh         8 make_gtk.mak      24 os_custom.c
 16 atk.c          16 callback.c      24 make_gtk.ps       76 os_structs.c
  4 atk.h           4 callback.h       4 make_gtk.xml      12 os_structs.h
 16 atk_custom.c   12 gnome.c          4 org/               4 swt.h


I'm pretty sure this isn't what you wanted to hear, but I still think it's pretty
accurate. Check eclipse's home site for more current information.
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