Skip to content

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

Closed
@hrQAQ

Description

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

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

正确语句应该为

gcc testfun.o test.o -o test

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions