Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How can I build eclipse for solaris9(10) sparc 64bit?
How can I build eclipse for solaris9(10) sparc 64bit? [message #336480] Wed, 17 June 2009 03:55 Go to next message
chenqi is currently offline chenqiFriend
Messages: 1
Registered: July 2009
Junior Member
I got the eclipse package for solaris 8 sparc.
(eclipse-SDK-3.2-solaris-gtk.zip)

1.Set Enviroment Variable in build.sh file
JAVA_HOME=/export/home/jdk
AWT_LIB_PATH=$JAVA_HOME/jre/lib/sparcv9
LD_LIBRARY_PATH=/usr/local/lib/sparcv9:/usr/dt/lib/sparcv9
SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64

2.Modify make_solaris.mak file
remove -K PIC flag
add -m64 flag

3.Modify os_structs.c
remove screen_changed functions in this file

4.Build libswt*.so
build libswt-gnome***.so fail
but I got
libswt-atk-gtk-3232.so libswt-awt-gtk-3232.so libswt-cde-gtk-3232.so
libswt-gtk-3232.so libswt-pi-gtk-3232.so succesfully

5.Replace libswt*.so I build for 64 bit in the eclipse package

6.I use java -d64 to start my swt program and I got jvm collapsed.

Somebody can give me some help.

I want to get eclipse can run on
solaris9(10) sparc 64bit.
Re: How can I build eclipse for solaris9(10) sparc 64bit? [message #336491 is a reply to message #336480] Wed, 17 June 2009 12:06 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

chenqi wrote:
> I got the eclipse package for solaris 8 sparc.
> (eclipse-SDK-3.2-solaris-gtk.zip)
>
> 1.Set Enviroment Variable in build.sh file
> JAVA_HOME=/export/home/jdk
> AWT_LIB_PATH=$JAVA_HOME/jre/lib/sparcv9
> LD_LIBRARY_PATH=/usr/local/lib/sparcv9:/usr/dt/lib/sparcv9
> SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64
>
> 2.Modify make_solaris.mak file
> remove -K PIC flag add -m64 flag
> 3.Modify os_structs.c
> remove screen_changed functions in this file
>
> 4.Build libswt*.so
> build libswt-gnome***.so fail but I got libswt-atk-gtk-3232.so
> libswt-awt-gtk-3232.so libswt-cde-gtk-3232.so libswt-gtk-3232.so
> libswt-pi-gtk-3232.so succesfully
>
> 5.Replace libswt*.so I build for 64 bit in the eclipse package
>
> 6.I use java -d64 to start my swt program and I got jvm collapsed.
>
> Somebody can give me some help.
>
> I want to get eclipse can run on solaris9(10) sparc 64bit.
>

Re-directing.

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Host plugin not found in product export
Next Topic:Modify workspace settings in Preference Page
Goto Forum:
  


Current Time: Fri Apr 26 03:55:39 GMT 2024

Powered by FUDForum. Page generated in 0.02163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top