AM335X-PAC Series User Manual version 2.0.4 Page: 77
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
4.3.2.
Compile Demo- helloworld.c
Type the command ‘
arm-linux-gnueabihf-gcc –o helloworld.exe helloworld.c
’ to compile
helloworld.c into helloworld.exe, then type ‘
dir/w
’ or ‘
ls
’ command to display the contents of the
directory and confirm that the helloworld.exe file has been created. (Refer to Figure 4.3.2-1)
Figure 4.3.2-1.
Executable file - helloworld.exe