gforth can't build in 32bit system.

Xiangfu Liu xiangfu at
Mon Sep 13 02:05:32 EDT 2010

Hi all

I found the 'gforth' compile fine in my 64bit system.

but it's can't build in my 32bit system.

there are some warning like:
 sys/mman.h: present but cannot be compiled
 fnmatch.h: present but cannot be compiled
 wchar.h: present but cannot be compiled
 endian.h: present but cannot be compiled

the last error is:
 cc1: error: unrecognized command line option "-m486"

my gcc info:
xiangfu at openmobilefree:~/PanGu/openwrt-xburst$ gcc --verbose
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 

attach is the compile log.

Best Regards
Xiangfu Liu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gforth.compile.log
URL: <>

More information about the discussion mailing list