$ pkg update $ pkg upgrade $ pkg install clang
$ nano hello.c
#include <stdio.h>
int main()
{
printf("hello, world\n");
return 0;
}$ clang hello.c -o hello $ ./hello hello, world
$ pkg list-all
$ pkg install x11-repo $ pkg install sdl2 $ pkg install xfwm4
$ termux-setup-storage
$ unzip ~/storage/downloads/acl00c_sdl2.zip -d ~
$ export DISPLAY=192.168.0.24:0 $ export PULSE_SERVER=tcp:192.168.0.24:4713
$ xfwm4 &
$ cd ~/acl00c_sdl2/sample/ $ clang -I ~/acl00c_sdl2 grd.c -o grd -DAARCH_AARCH64 -lm -lSDL2
$ ./grd
| コメント | お名前 | NameLink | |