13,005
回編集
(→準備) |
(→準備) |
||
62行目: | 62行目: | ||
*#: <code>mkdir build && cd build</code> | *#: <code>mkdir build && cd build</code> | ||
*# libncurses5をビルドおよびインストールする。 | *# libncurses5をビルドおよびインストールする。 | ||
*#: # | *#: <u>64bit版</u> | ||
*#:<code>../configure \</code> | |||
*#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \</code> | |||
*#: <code>CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \</code> | |||
*#: <code>--with-shared --with-normal --with-debug \</code> | |||
*#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | |||
*#: <code>CPPFLAGS="-P"</code> | |||
*#: <br> | |||
*#: <code>make -j $(nproc)</code> | |||
*#: <code>make install</code> | |||
*#: <br> | |||
*#: <u>64bit版 ワイド文字対応</u> | |||
*#:<code>../configure \</code> | *#:<code>../configure \</code> | ||
*#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \</code> | *#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \</code> | ||
72行目: | 83行目: | ||
*#: <code>make -j $(nproc)</code> | *#: <code>make -j $(nproc)</code> | ||
*#: <code>make install</code> | *#: <code>make install</code> | ||
*#: <br># | *#: <br> | ||
*#: <u>32bit版</u> | |||
*#: <code>../configure \</code> | |||
*#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc -m32" \</code> | |||
*#: <code>CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++ -m32" \</code> | |||
*#: <code>--with-shared --with-normal --with-debug \</code> | |||
*#: <code>--without-progs --without-termlib --without-tests --without-manpages \</code> | |||
*#: <code>--program-suffix="_32" \</code> | |||
*#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | |||
*#: <code>--datadir=<libncurses5のインストールディレクトリ>/share32 \</code> | |||
*#: <code>CPPFLAGS="-P"</code> | |||
*#: <br> | |||
*#: <code>make -j $(nproc)</code> | |||
*#: <code>make install</code> | |||
*#: <br> | |||
*#: <u>32bit版 ワイド文字対応</u> | |||
*#: <code>../configure \</code> | *#: <code>../configure \</code> | ||
*#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc -m32" \</code> | *#: <code>CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc -m32" \</code> | ||
*#: <code>CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++ -m32" \</code> | *#: <code>CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++ -m32" \</code> | ||
*#: <code>--with-shared --with-normal --with-debug --enable-widec \</code> | *#: <code>--with-shared --with-normal --with-debug --enable-widec \</code> | ||
*#: <code>--without-progs --without-termlib --without-tests --without-manpages \</code> | |||
*#: <code>--program-suffix="_32" \</code> | |||
*#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | *#: <code>--prefix=<libncurses5のインストールディレクトリ> \</code> | ||
*#: <code>--datadir=<libncurses5のインストールディレクトリ>/share32 \</code> | |||
*#: <code>CPPFLAGS="-P"</code> | *#: <code>CPPFLAGS="-P"</code> | ||
*#: <br> | *#: <br> |