What is a file with extension .a?

前端 未结 2 1979
抹茶落季
抹茶落季 2020-12-04 14:03

I downloaded this: https://github.com/mongodb/mongo-c-driver

And now I\'m trying to use it inside my C program, but I don\'t know what to do with the generated .a fi

2条回答
  •  天涯浪人
    2020-12-04 14:35

    .a files are static libraries typically generated by the archive tool. You usually include the header files associated with that static library and then link to the library when you are compiling.

提交回复
热议问题