From perlaix: If you choose gcc to compile 64-bit Perl then you need to add the following option. See also, article at IBM.
-Dcc='gcc -maix64'
Update: Ah, it looks like you're wanting to build a 32-bit Perl. Have you tried the following configure option?
-Dcc='gcc -maix32'
There is AIX Toolbox for Linux Applications. The AIX Toolbox for Linux Applications contains a wide variety of software, including but not limited to:
- Application Development - gcc, g++, gdb, rpm, cvs, automake, autoconf, libtool, git, subversion, gettext - GNU base utilities - gawk, m4, indent, sed, tar, diffutils, findutils, grep, coreutils - Programming Languages - perl, python, ruby, php - System Utilities - emacs, vim, bzip2, gzip, rsync, wget, lsof, less, samba, zip, unzip - Libraries - ncurses, readline, libxml2, libyaml, libpng, libjpeg, slang, db, glib2, zlib, gtk+ - System Shells - bash, tcsh, zsh - Software Managment - YUM - Developing graphical user interface - gtk2+ - Cloud environment - cloud-init, python-swift
With the perl binary, included with the toolbox, one can then extract the configure options used.
/path/to/toolbox/bin/perl -V | grep config_args
Am not sure how gcc was installed. If taken from AIXTOOLS, notice the extra step after the installation.
/opt/libexec/gcc/powerpc-ibm-aix5.3.7.0/4.7.4/install-tools/mkheaders
Regards, Mario
In reply to Re: Perl: AIX compile error
by marioroy
in thread Perl: AIX compile error
by flynn7312
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |