12,964
回編集
(→準備) |
|||
56行目: | 56行目: | ||
*#: <code>mkdir build && cd build</code> | *#: <code>mkdir build && cd build</code> | ||
*# libncurses5をビルドおよびインストールする。 | *# libncurses5をビルドおよびインストールする。 | ||
*#: | *#: # 64bit版ncurses5 | ||
*#:<code>../configure \</code> | |||
*#: <code>../configure \</code> | |||
*#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \</code> | *#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \</code> | ||
*#: <code>CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \</code> | *#: <code>CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \</code> | ||
82行目: | 63行目: | ||
*#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | *#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | ||
*#: <code>CPPFLAGS="-P"</code> | *#: <code>CPPFLAGS="-P"</code> | ||
*#: | |||
*#: <code>make -j $(nproc)</code> | *#: <code>make -j $(nproc)</code> | ||
*#: <code>make install</code> | *#: <code>make install</code> | ||
*#: <br> | *#: <br># 32bit版ncurses5 | ||
*#: <code>../configure \</code> | *#: <code>../configure \</code> | ||
*#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc -m32" \</code> | *#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc -m32" \</code> | ||
91行目: | 73行目: | ||
*#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | *#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | ||
*#: <code>CPPFLAGS="-P"</code> | *#: <code>CPPFLAGS="-P"</code> | ||
*#: | |||
*#: <code>make -j $(nproc)</code> | *#: <code>make -j $(nproc)</code> | ||
*#: <code>make install</code> | *#: <code>make install</code> |