Moxa Technologies UC-7110 Bedienungsanleitung Seite 15

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 46
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 14
UC-7101/7110/7112 Software User’s Manual Getting Started
Compiling Hello.c
The Tool Chain path is:
PATH=/usr/local/bin:$PATH
The UC-7101/7110/7112 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 issue the command #make to compile Hello.c. Finally, execute
the program to generate hello and hello.gdb.
Uploading “Hello” to the UC-7101/7110/7112
To use FTP to upload hello to UC-7101/7110/7112, issue the following commands on the PC:
#ftp 192.168.3.127
ftp> cd /home
ftp> bin
ftp> put ./hello
ftp> quit
#telnet 192.168.3.127
2-7
Seitenansicht 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 45 46

Kommentare zu diesen Handbüchern

Keine Kommentare