User`s manual

EM-1220 LX User’s Manual Getting Started
Compiling Hello.c
The Tool Chain path is:
PATH=/usr/local/bin:$PATH
The EM-1220-LX 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.
2-8