Embedded LPC3250 User Manual Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 20
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
8
Embedded Linux Quick Start Guide
LPC3250-Stick
Trying it out
The Hello World program
#include <stdio.h>
int main(void) {
printf ("Hello, ARM\n");
return 0;
}
$ export PATH=/usr/local/angstrom/arm/bin:$PATH
$ arm-angstrom-linux-gnueabi-gcc hello-arm.c -o hello-arm
$ file hello-arm
hello-arm: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 19 20

Comments to this Manuals

No comments