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
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
转载于:https://www.cnblogs.com/xiaohuihui123/p/4563851.html