I'm wondering can I use static libraries (lib*.a files) compiled with one version of MingW and use them on the other version ? Or do I have to recompile al开发者_高级运维l libraries ?
- Static libraries (
*.afiles) are just archives of object files (*.ofiles) - You can mix together pieces of code compiled against different versions of a library (here, the MinGW library) as long as they maintain binary code compatibility. In the case of MinGW, this means all 3.* versions play nice together.
Yes you can. You don't need to recompile them if they are not giving any problems
加载中,请稍侯......
精彩评论