Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:eclipse [2014/05/02 05:03] – switch from NOTE to WRAP lenz | en:eclipse [2025/01/28 11:17] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * Eclipse Indigo | * Eclipse Indigo | ||
| * CDT 8.0 | * CDT 8.0 | ||
| - | * TQMa28 with i.MX28 (ARM9) | + | * TQMa28 with i.MX28 (1 x Arm926EJ-S< |
| - | * TQMa35 with i.MX35 (ARM11) | + | * TQMa35 with i.MX35 (1 x Arm1136JF-S< |
| * LTIB 9.1.1 | * LTIB 9.1.1 | ||
| * ELDK 4.2 | * ELDK 4.2 | ||
| - | ===== Installation ===== | + | ===== Installation ==== |
| ==== Download complete package ==== | ==== Download complete package ==== | ||
| - | In the repositories Ubuntu 10.04 provides the Eclipse Galileo. The version of CDT for Eclipse Galileo is 6.0.2, this does not yet support features for cross-compiling. For Ubuntu 10.04 we get the packed version of Eclipse Indigo with CDT 8.0. These and possibly newer ones are available at the following download page: | + | In the repositories Ubuntu 10.04 provides the Eclipse Galileo. The version of CDT for Eclipse Galileo is 6.0.2, this does not yet support features for cross-compiling. For Ubuntu 10.04 we get the packed version of Eclipse Indigo with CDT 8.0. These and possibly newer ones are available at the following download page: |
| http:// | http:// | ||
| Line 23: | Line 25: | ||
| Alternatively, | Alternatively, | ||
| - | '' | + | **Eclipse IDE for C/C++ Linux Developers (includes Incubating components)** |
| The executable Eclipse is in the extracted folder. No plugins have to be installed. Sometimes it may happen, however, that a Java runtime environment is required to execute Eclipse. This is installed with the following command: | The executable Eclipse is in the extracted folder. No plugins have to be installed. Sometimes it may happen, however, that a Java runtime environment is required to execute Eclipse. This is installed with the following command: | ||
| Line 30: | Line 32: | ||
| user@ubuntu: | user@ubuntu: | ||
| </ | </ | ||
| + | |||
| ==== Installation using apt-get ==== | ==== Installation using apt-get ==== | ||
| The Eclipse platform is installed with apt-get: | The Eclipse platform is installed with apt-get: | ||
| Line 36: | Line 39: | ||
| user@ubuntu: | user@ubuntu: | ||
| </ | </ | ||
| + | |||
| <WRAP round important> | <WRAP round important> | ||
| Ubuntu 10.04 supplies the very old Eclipse Galileo. It is recommended to dirctly download a newer packet. See [[Eclipse# | Ubuntu 10.04 supplies the very old Eclipse Galileo. It is recommended to dirctly download a newer packet. See [[Eclipse# | ||
| </ | </ | ||
| + | |||
| <WRAP round tip> | <WRAP round tip> | ||
| The package Eclipse-platform only contains the platform and no language-specific plugins. These must be installed separately using the plugin manager. An existing installation of Eclipse can be used as well. | The package Eclipse-platform only contains the platform and no language-specific plugins. These must be installed separately using the plugin manager. An existing installation of Eclipse can be used as well. | ||
| Line 71: | Line 76: | ||
| By right click and '' | By right click and '' | ||
| - | {{ :Eclipse: | + | {{:eclipse: |
| ===== Creating a new cross compiler project ===== | ===== Creating a new cross compiler project ===== | ||
| * Menu '' | * Menu '' | ||
| Line 89: | Line 94: | ||
| * Project can be built manually at the console | * Project can be built manually at the console | ||
| - | . | ||
| Line 98: | Line 102: | ||
| - Close the wizard with '' | - Close the wizard with '' | ||
| - | | + | |
| - | - Right click on the project name and select '' | + | - The project with existing source files should now show up on the left of the Project Explorer. Now the automatic makefile has to be disabled in the project properties. |
| - | | + | - Right click on the project name and select '' |
| - | - The binary with the additional information about the architecture, | + | |
| + | {{:eclipse: | ||
| + | |||
| + | Build the project with a click on the hammer. | ||
| + | - The binary with the additional information about the architecture, | ||
| + | {{:eclipse: | ||
| <WRAP round info> | <WRAP round info> | ||
| - | The wrong compiler was chosen if the host architecture (e.g. x86) is stated instead of " | + | The wrong compiler was chosen if the host architecture (e.g. x86) is stated instead of " |
| + | |||
| + | [[en: | ||
| </ | </ | ||
| Line 145: | Line 158: | ||
| cp /< | cp /< | ||
| </ | </ | ||
| + | |||
| <WRAP round info> | <WRAP round info> | ||
| Line 153: | Line 167: | ||
| ===== Demo project ===== | ===== Demo project ===== | ||
| - | {{: | + | [[: |
| A "Hello World" demo project was created. With a correctly installed and configured ELDK this project should compile with Eclipse and CDT. | A "Hello World" demo project was created. With a correctly installed and configured ELDK this project should compile with Eclipse and CDT. | ||
| Line 160: | Line 174: | ||
| In the next form select the downloaded ZIP archive and complete the import with " | In the next form select the downloaded ZIP archive and complete the import with " | ||
| {{ : | {{ : | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| <WRAP round tip> | <WRAP round tip> | ||
| Should there be problems when compiling, you can first run the build process on the console with a direct call of '' | Should there be problems when compiling, you can first run the build process on the console with a direct call of '' | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| ===== Debugging ===== | ===== Debugging ===== | ||
| * [[en: | * [[en: | ||
| * [[en: | * [[en: | ||
| - | |||
| ===== Sources ===== | ===== Sources ===== | ||
| Line 175: | Line 196: | ||
| * http:// | * http:// | ||
| * http:// | * http:// | ||
| - | |||