Makefile issues - fatal error in reader

我的未来我决定 提交于 2019-12-01 22:51:00

As Joachim told you, the lines should be indented by tab, not by spaces, so the second line should look like:

[TAB]gcc -Wall proj09.driver.o proj09.support.o -o proj09.exe[NEWLINE]

where [TAB] means TAB character.

Also there shouldn't be any spaces after the command. That's why I've put [NEWLINE] char.

Aside from the spaces and tabs, this doesn't generate an object file, shouldn't even compile (unless it has main()):

gcc -Wall proj09.support.s 

You should use -c here too:

gcc -Wall -c proj09.support.s 

Note: if you're working on Unix/Linux lose the .exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!