Build and installation instructions for Postgres v6.4 client libraries on Win32.
Win32 環境における Postgres v6.4 クライアントライブラリの構築およびインストール手順
The makefiles included in Postgres are written for Microsoft Visual C++, and will probably not work with other systems. It should be possible to compile the libaries manually in other cases.
Postgres に含まれている makefile は Microsoft Visual C++用に書かれており、 恐らく他の処理系では動作しないと思われます。 他の処理系でも手動でライブラリをコンパイルすることが可能なはずです。
To build the libraries, change directory into the src directory, and type the command
nmake /f win32.makThis assumes that you have Visual C++ in your path.
ライブラリを構築するには、src ディレクトリに移動し、 次のコマンドを入力してください。
nmake /f win32.makこの例では、Visual C++にパスが通っていることを 仮定しています。
The following files will be built:
以下のファイルが作成されます。
interfaces\libpq\Release\libpq.dll - The dynamically linkable frontend library - 動的リンク可能なフロントエンドライブラリ
interfaces\libpq\Release\libpqdll.lib - Import library to link your program to libpq.dll - ユーザーのプログラムを libpq.dll にリンクする際に使用するインポートライブラリ
interfaces\libpq\Release\libpq.lib - Static library version of the frontend library - フロントエンドライブラリのスタティックライブラリ版
bin\psql\Release\psql.exe - The Postgresql interactive SQL monitor - Postgresql 用対話的 SQL モニタ