Moxa Technologies UC-7110 Manual de usuario Pagina 15

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 46
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 45 46

Comentarios a estos manuales

Sin comentarios