2016. 6. 1. 오전 6:50에 "Bruno Haible" <
address@hidden>님이 작성:
Hi,
> I'm Ryu Jaekyung in South Korea.
>
> I have a question about installing libiconv.
>
> I'm using 64bit linux pc.
>
> I need to install 32bit libiconv.so on my pc because I need to make 32bit
> binary.
Why? glibc contains all encodings you may want. libiconv is meant for
non-glibc platforms.
> can you give us how to install 32bit library on 64bit machine?
Read through the INSTALL.generic file included in the source
distribution.
For 32-bit builds, I use a configure command line such as
./configure --host=i686-pc-linux-gnu --prefix=/arch/x86-linux/gnu CC="gcc -m32 -march=i586" CXX="g++ -m32 -march=i586" F77="gfortran -m32 -march=i586" FC="gfortran -m32 -march=i586" LDFLAGS="-m32" CPPFLAGS=-Wall
Your mileage may vary.
Bruno