Pau pajuelo
Write your First C Program using ECLIPSE IDE
Overview
This How-To is meant to be a starting point for people to learn to compile C programs using ECLIPSE IDE installed in IGEP SDK v3.0 Virtual Machine as quickly and easily as possible. In this how-to, we use:
- VMware or VirtualBox virtualization software
- IGEP SDK v3.0 Virtual Machine RC2 with ECLIPSE IDE
- IGEP BOARD with Ethernet communication (for example IGEPv2)
- MANUAL IGEP SDK v3.0 VM
- Hello world example for ECLIPSE
Getting started
First at all, you should read MANUAL IGEP SDK v3.0 VM and follow the next instructions:
- Install your Virtual Machine
- Install your Virtual Machine Guest additions
- Prepare your Rootfs in your Micro SD Card
- Connect to your IGEP Board using Ethernet Commnication
- Build programs using ECLIPSE IDE
ECLIPSE IDE
Eclipse IDE is a software development environtment., this software package is very popular because you can extend its functionalities installing pluggins. At IGEP v3.0 VM Eclipse includes Linux tools and Yocto plugin to develop C applications for IGEP firmware.
Source code C applications can be compiled in Eclipse using a simple Makefile or Autoconf tools. Autoconf tools can be useful if you want to develop a huge application with a lot of dependencies, VM Eclipse Examples use Autotools, this method can be tedious and is not recomended for simple programs.
Write your First Program using ECLIPSE
ECLIPSE IDE
At "Getting started chapter" you compiled some source example programs for ECLIPSE that use Autoconf