1.method 1: use "acc"
>acc hello.acc world.mc <--- compilation will generate the hello.c and world.c files >gcc hello.c world.c
>./a.out
2.method 2: use "tacc"
>tacc foo.c fooac.acc
>./a.out
>tacc foo.c fooac.acc -o tt.out
>./tt.out
时间: 2024-11-05 23:35:18