Introduction
- Terminal IDE app from GooglePlay store
- Run the app
- Tap
Install System - Install system
- Tap
Terminal IDE - Enter
system/bin/install_gcc - Enter
terminal-gcc --version
If you can see arm-eabi-gcc(GCC) [version number], that will be OK!
Hello, Wold!
- Enter
vim hello.c - Code the following(hello.c)
hello.c
# include<stdio.h>
int main(){
puts("Hello, World!");
return 0;
}
- Enter
terminal-gcc -o hello hello.c - Enter
./hello
If you can see Hello, World!, you will be ok.