Moxa-technologies UC-7110 Instrukcja Użytkownika Strona 23

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 64
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 22
UC-7110 Series User’s Manual Getting Started
2-7
Compiling Hello.c
The Tool Chain path is:
PATH=/usr/local/arm-elf/bin:$PATH
The UC-7110 CD includes several example programs. We use Hello.c to illustrate how to compile
and run applications.
Issue the following commands from your PC to compile Hello.c:
# cd /tmp/
# mkdir example
# cp –r /mnt/cdrom/example/* /tmp/example
Go to the Hello subdirectory, and then issue the command
#make
to compile Hello.c. Finally, execute the program to generate hello and hello.gdb.
Przeglądanie stron 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 63 64

Komentarze do niniejszej Instrukcji

Brak uwag