简体   繁体   中英

Can I build boost for mingw and windows from same folder?

So I have a folder with boost 1.44.0 and I need both msvc and MinGW binary libraries. I have already done the msvc build and need to do the MinGW gcc build next. Can I build from the same folder? My reasoning is this should not create a problem as the .a/ .so libraries are just placed in the same lib folder but the headers/sources and not modified. Is this correct understanding? My goal is to have the same build tree and the libraries in the same folder.

The two builds are not done concurrently of course.

That should be fine. Libraries are just files on the harddisk so they can easily coexist in the same folder, as long as they have different names.

In summary: yes your assumptions are correct.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM