Date: Wed, 09 Mar 2011 15:15:39 -0500 From: Thomas David Rivers <rivers@dignus.com> To: freebsd-stable@freebsd.org Subject: bin/139146 still not right in FreeBSD 8.2 (-m32 on amd64)? Message-ID: <201103092015.p29KFd0U077849@dave.dignus.com>
next in thread | raw e-mail | index | archive | help
Just installed a fresh 8.2-stable on a brand-spanking-new 64-bit machine... But, when I try to build 32-bit programs I get problems linking, and I stumbled onto PR bin/139146. The PR mentions this quick test: uname -sr && echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc -m32 t.c which I try to get this output: FreeBSD 8.2-RELEASE -m32 Generate 32bit i386 code /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc So - I'm wondering what the proper approach is on amd64 to build 32-bit applications? - Thanks! - - Dave Rivers - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103092015.p29KFd0U077849>