Closed gggin closed 7 years ago
./8cc -a xxx.c is wrong. ./8cc xx.c cannot work too.
./8cc -a xxx.c
./8cc xx.c
how to link?
./8cc -c a.c gcc a.s
I found a fork code. in main.c:143 line: commet 2 line
// if (!dumpast && !cpponly && !dumpasm && !dontlink) // error("One of -a, -c, -E or -S must be specified");
./8cc -a xxx.c
is wrong../8cc xx.c
cannot work too.how to link?