JonPan wrote:Thanks for the reply. I have installed the SDK downloaded from the IBM site, where I get stuck I think is that Eclipse does not respond to the Find and Install command under the Help menu. Do you have this feature?
Sorry - that's not something I'd use. I did try it and the menu appeared - I didn't go any further though.
Did you use the stock install of java JRE etc from the YDL 6.1?
Nope - I use IBM's Java. Generally 5.0, but I've had to install 6.0 recently as an "Installed JRE" to get some test code to compile.
I saw a response to this function missing that said they installed java from the Sun site and Eclipse started behaving, I looked for it but couldn't find a ppc version. If you have everything working could you send me links to the versions of Eclipse and Java that you are using
Unfortunately, there is no Sun Java for PowerPC processors - like the PPE core in the Cell uses. You have to use IBM's Java instead - which is Sun licensed.
There are instructions on how to download and install it here:
viewtopic.php?t=2935Again - I use IBM Java 5.0 for Eclipse unless I need specific Java 6.0 functions. The 5.0 JVM appears to have a smaller memory footprint - which is important for the PS3's limited RAM.
You can have both installed at the same time, anyway - so I'd download them both. (5.0 & 6.0)
There is a weird trick you can do that might help you. It's a little complex, but I'll explain it to you, and depending on your Unix/Linux skill, that might be enough to get you started.
IBM's Java runs Eclipse about twice as fast as YDL's default open-source GCJ. However - there's a catch. It doesn't seem to like the build Eclipse that gets installed with YDL 6.1 - it likes the identical version from YDL 6.0.
So - what you want to do is go to a YDL 6.0 repository - like:
http://ftp.yellowdoglinux.com/pub/yello ... base/RPMS/and, using RPM, uninstall the 6.1 version and install the 6.0 version of these files:
eclipse-ecj-3.2.2-14.ydl.1
eclipse-rcp-3.2.2-14.ydl.1
eclipse-cdt-3.1.2-3
eclipse-jdt-3.2.2-14.ydl.1
eclipse-platform-3.2.2-14.ydl.1You may need to use the --nodeps argument for RPM to force these older versions to load. However - the binary code should be the same - the "new" version of Eclipse is just a version bump for YDL 6.1 and a compilation against newer - but backwards compatible libraries.
Run your new "old" eclipse once, then exit normally. This sets up some settings files, etc.
Now - force your IBM Java to be the default Java on your system by creating a symbolic link to the java binary in /usr/local/bin. This forces it to be "looked for" in the PATH environment variable ahead of the GCJ Java in /usr/bin.
From a terminal window, as root user, this would be:
ln -s /opt/ibm/java2-ppc-50/jre/bin/java /usr/local/binfor IBM Java 5.0
Now - run Eclipse again. You should see a noticeable improvement in speed and possibly your function might work. Cool huh?
If it doesn't work - remove the symbolic link, and re-install the newer version of Eclipse. No harm no foul.
Let me know if you have questions about this - it's advanced Linux install tricks, to be sure.
Cheers,
Paul