develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000323.046] ccflags issue on AIX 4.3.2 / 5.6.0

Thread Next
David Hayes
March 23, 2000 11:20
[ID 20000323.046] ccflags issue on AIX 4.3.2 / 5.6.0
Message ID:
./Configure generates the following for ccflags on AIX 4.3.2:

ccflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -qlongdouble'

This causes lots of harmless warnings during compilation, as '-q32' is
not a valid cc/xlc option, at least not with my version (

This doesn't happen on AIX 4.2.1.

hints/ says:
# -q32 and -b32 may have been set by uselargefiles or user.
          # Remove them.
      ccflags="`echo $ccflags | sed -e 's@-q32@@'`"
      ldflags="`echo $ldflags | sed -e 's@-b32@@'`"

But they somehow don't get removed.

shrike /home/david/perl-5.6.0>./perl -I./lib -V 
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=aix, osvers=, archname=aix
    uname='aix shrike 3 4 000607084c00 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=define usesocks=undef
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/usr/local/include'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -qlongdouble'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib -b32'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lC -lc -lcrypt -lbsd -lPW -liconv
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:/usr/local/lib/perl5/5.6.0/aix/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lC -lc -L/usr/local/lib'

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LONG_DOUBLE USE_LARGE_FILES
  Built under aix
  Compiled at Mar 23 2000 11:23:28


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About