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 -

--
riv...@dignus.com                        Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com



_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to