This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Configure failure on AIX
- To: gcc at gcc dot gnu dot org
- Subject: Configure failure on AIX
- From: Matt_Conway at i2 dot com
- Date: Fri, 29 Jun 2001 10:35:21 -0400
I updated my AIX 4.3.3 to the latest maintenance level in the hopes of
being able to produce a working gcc, but got the following error while
configuring.
Workaround was to simple enable only c,c++ while configuring.
md go; cd go
/disk1/tmp/gcc3/gcc-3.0/configure --prefix=/opt/gcc-3.0
<snip>
checking size of char... configure: error: can not run test program while
cross compiling
Configure in /disk1/tmp/gcc3/go/fastjar failed, exiting.
fastjar/config.log doesn;'t show anything useful:
configure:1575: checking for getopt.h
configure:1585: cc -E conftest.c >/dev/null 2>conftest.out
"configure", line 1581.10: 1506-296 (S) #include file <getopt.h> not
found.
configure: failed program was:
#line 1580 "configure"
#include "confdefs.h"
#include <getopt.h>
configure:1613: checking for off_t
configure:1646: checking whether struct tm is in sys/time.h or time.h
configure:1681: checking size of char