2017-04-24から1日間の記事一覧
オブジェクトファイル、静的ライブラリ、共有ライブラリ、静的リンク、動的リンクの整理。以下はMacで実施した。linuxでも多分同じはず。 使うソースファイル test.cpp #include <iostream> #include "func.h" using namespace std; int main(){ func(); return 0; } f</iostream>…
オブジェクトファイル、静的ライブラリ、共有ライブラリ、静的リンク、動的リンクの整理。以下はMacで実施した。linuxでも多分同じはず。 使うソースファイル test.cpp #include <iostream> #include "func.h" using namespace std; int main(){ func(); return 0; } f</iostream>…