[Bug bootstrap/24094] New: AIX 51 configure fails with getopt.h not found

david at davidfavor dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 27 22:22:00 GMT 2005


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



More information about the Gcc-bugs mailing list