Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc 多文件编译的命令有误 #418

Closed
hrQAQ opened this issue Sep 8, 2022 · 1 comment
Closed

gcc 多文件编译的命令有误 #418

hrQAQ opened this issue Sep 8, 2022 · 1 comment

Comments

@hrQAQ
Copy link

hrQAQ commented Sep 8, 2022

关于gcc的多文件编译的第二种方式的介绍中,有一行命令有误:

gcc -o testfun.o test.o -o test //将testfun.o和test.o链接成test

正确语句应该为

gcc testfun.o test.o -o test
jaywcjlove added a commit that referenced this issue Sep 8, 2022
@jaywcjlove
Copy link
Owner

@hrQAQ 已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants