On Tue, Feb 02, 2021 at 02:58:06PM -0000, Martin Gansser wrote:
Many Thanks for your feedback.
but when i run the following command on my x86-64 host,
i get the error message that the C compiler does't work.
[martin@fc33 cxxtools-3.0]$ ./configure CC="gcc" CFLAGS="-m32"
CXXFLAGS="-m32" LDFLAGS="-m32"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/martin/rpmbuild/BUILD/cxxtools-3.0':
configure: error: C compiler cannot create executables
See `config.log' for more details
You'll need to look in config.log as the message says. However the
most likely reason is you don't have the 32 bit toolchain installed,
in this case glibc-devel.i686, libstdc++-devel.i686 and
openssl-devel.i686.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW