This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Configure failure on AIX


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]