Eclipse IDE

From Altera Wiki
Jump to: navigation, search
0 / 5 (0 votes cast)

This is a page created for those who are interested in running an IDE for developing NIOS II uClinux code. Eclipse is based on java, initailly developed by IBM, and now open source.

Contents

Downloading and installation

There 2 pieces of software you need in order to run Eclipse IDE: Java runtime and Eclipse-SDK.

They can be downloaded at Sun java and Eclipse.org. The example I give is based on the 3 files I downloaded at the time.

Installing JRE

The following command does it
su
mkdir /usr/java
mv jre-1_5_0_06-linux-i586.bin ./
chmod 744 jre-1_5_0_06-linux-i586.bincd /usr/java
./jre-1_5_0_06-linux-i586.bin

Follow the instruction on your terminalComplete instruction can be found in java's website.

Installing CDT 3.1

Note: It is important to install CDT before Eclipse-SDk (it shouldn't matter, but somehow I find that Eclipse did not register the later plug-in if CDT is post installed)
Download CDT 3.1 (org.eclipse.cdt.sdk-3.1.0-linux.x86.tar.gz) from here

Place the file in /usr.

cp org.eclipse.cdt.sdk-3.1.0-linux.x86.tar.gz /usr
cd /usr
tar xvzf org.eclipse.cdt.sdk-3.1.0-linux.x86.tar.gz

Installing Eclipse-SDK

Place eclipse-SDK-3.2-linux-gtk.tar.gz file in /usr

tar xvzf eclipse-SDK-3.2-linux-gtk.tar.gz
rm eclipse-SDK-3.2-linux-gtk.tar.gz (optional)

Running Eclipse

/usr/eclipse/eclipse -vm /usr/java/jre1.5.0_06/bin/java &

Stuff to come

You can follow the blackfin uClinux wiki for further stuff. Please add to this page if anyone has gone further.

Personal tools