[email@example.com: [ports-amd64@FreeBSD.org: avr-gcc-3.3.2
failed on amd64 5]]
James R. Van Artsalen
james at jrv.org
Mon Mar 15 14:38:35 PST 2004
Joerg Wunsch wrote:
>----- Forwarded message from Kris Kennaway <kris at obsecurity.org> -----
>*** Configuration amd64-portbld-freebsd5.2 not supported
>Configure in /tmp/a/ports/devel/avr-gcc/work/gcc-3.3.2/gcc failed, exiting.
>===> Script "configure" failed unexpectedly.
>----- End forwarded message -----
>Since this is a stock GCC 3.3.2 where AMD64 is only used as the host
>system (--target=avr), and I can't imagine AMD64 is not yet supported
>by GCC, is there already any experience about what would be needed to
>configure a GCC on this arch?
>Kris' guess was it might require to be called x86_64, but perhaps some
>other maintainer already solved that problem, so I'm just trying to
>not reinvent the wheel.
GCC needs to know what the host is in order to know how to calculate
constant folding, and how to do other optimizations (think about
cross-compiling on a 32-bit platform for a 64-target, doing constant
The bug is in GCC's config.guess: this file doesn't recognize FreeBSD
right. See this message for patch to config.guess:
This may not be the only bug but it is a necessary start.
More information about the freebsd-amd64