This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/24094] New: AIX 51 configure fails with getopt.h not found
- From: "david at davidfavor dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2005 22:22:40 -0000
- Subject: [Bug bootstrap/24094] New: AIX 51 configure fails with getopt.h not found
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The file fastjar/jartool.c does an "#include <getopt.h>"
and AIX provides the getopt definition in "<unistd.h>".
Doing:
#ifdef _AIX
#include <unistd.h>
#else
#include <getopt.h>
#endif
causes other failures.
Suggestions?
--
Summary: AIX 51 configure fails with getopt.h not found
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david at davidfavor dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-ibm-aix5.1.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24094