13,226
回編集
| 121行目: | 121行目: | ||
CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc -m32" \ | CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc -m32" \ | ||
CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++ -m32" \ | CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++ -m32" \ | ||
--prefix=<libncurses5のインストールディレクトリ> \ | |||
--bindir=/<libncurses5のインストールディレクトリ>/baselibs-32bit \ | --bindir=/<libncurses5のインストールディレクトリ>/baselibs-32bit \ | ||
--libdir=/<libncurses5のインストールディレクトリ>/lib \ | --libdir=/<libncurses5のインストールディレクトリ>/lib \ | ||
--with-shared --with-cxx-shared --with-normal --with-ticlib --with-debug --with-termlib --disable-widec --enable-pc-files \ | --with-shared --with-cxx-shared --with-normal --with-ticlib --with-debug --with-termlib --disable-widec --enable-pc-files \ | ||
--without-progs --without-tests --without-manpages \ | --without-progs --without-tests --without-manpages \ | ||
CPPFLAGS="-P" | CPPFLAGS="-P" | ||
| 161行目: | 161行目: | ||
(3) 64bit版 ワイド文字対応 | (3) 64bit版 ワイド文字対応 | ||
../configure \ | ../configure \ | ||
CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" | CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \ | ||
CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" | CXX="/<GCC6.5以前のインストールディレクトリ>/bin/g++" \ | ||
--prefix=<libncurses5のインストールディレクトリ> \ | --prefix=<libncurses5のインストールディレクトリ> \ | ||
--libdir=/<libncurses5のインストールディレクトリ>/lib64 \ | --libdir=/<libncurses5のインストールディレクトリ>/lib64 \ | ||
--with-shared --with-cxx-shared --with-normal --with-ticlib --with-debug \ | |||
--without-progs --without-tests --without-manpages \ | |||
--enable-widec --enable-pc-files \ | |||
CPPFLAGS="-P" | CPPFLAGS="-P" | ||
make -j $(nproc) | make -j $(nproc) | ||
make install | make install | ||
# 不要なファイルを削除する | |||
rm -rf /<libncurses5のインストールディレクトリ>/include | |||
rm -rf /<libncurses5のインストールディレクトリ>/share | |||
<br> | <br> | ||
(4) 64bit版 | (4) 64bit版 非ワイド文字 | ||
../configure \ | ../configure \ | ||
CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \ | CC="/<GCC6.5以前のインストールディレクトリ>/bin/gcc" \ | ||