Solvline LemonIDE Ver 1.0c Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
LemonIDE
TM
Chapter 5. Using IDE
Sample program “hello.c” is shown below to provide a better understanding on use of LemonIDE.
#include <stdio.h>
void sub (int value);
int main (int argc, char *argv[])
{
sub (1000);
return 0;
}
void sub (int value)
{
int sum=0, i;
for (i=1; i<=value; i++) {
sum += i;
}
printf ("SUM (1 ~ %4d) = %7d\n", value, sum);
return;
}
5.3 Compile Environment Settings & Build
Compile refers to process of compiling and linking source files and making binary image executable for Eddy.
LemonIDE projects are usually compiled based on makefile. This chapter outlines process of compiling source files
using makefile provided in DK Source.
5-3
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 55 56

Comentarios a estos manuales

Sin comentarios