develooper Front page | perl.perl5.porters | Postings from January 2001

bleedperl on IRIX 6.4

From:
abigail
Date:
January 27, 2001 19:32
Subject:
bleedperl on IRIX 6.4
Message ID:
20010128033401.32763.qmail@foad.org
I tried compiling bleedperl on an IRIX 6.4 system I've access to,
but it quickly fails during Configure.

The problem seems to be the C compiler (/usr/bin/cc). It doesn't recognize
-version, causing hints/irix_6.sh to hang. After changing the `cc -version`
expressions in hints/irix_6.sh to "foo", it gets passed the hints file,
but it hangs after 

    Use which C compiler? [cc -n32]  

probably in UU/checkcc. UU/checkcc compiles a file try.c by doing

    cc -o try -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0 try

The file try isn't generated, nor do I see any error messages.

When running the command from the command line, it issues a warning:

    cc: Warning: -OPT options are ignored

but it compiles the program.


Unfortunally, I hardly know anything about IRIX, and nothing about its C
compiler (the man page is unfortunally not installed). I can't even get
the version of the compiler, none of -v, -V, -version, --version, -h, --help
or -? is recognized, and a strings on the binary doesn't give any hints on
the version (just that is was compiled for IRIX 6.2).


$ uname -a
IRIX64 intra3 6.4 02121744 IP27
$ perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=irix, osver=6.2, archname=IP22-irix
    uname='irix wkintranet2 6.2 06101030 ip22 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc -32', optimize='-O', gccversion=
    cppflags='-D_BSD_TYPES -D_BSD_TIME -DLANGUAGE_C'
    ccflags ='-D_BSD_TYPES -D_BSD_TIME -Olimit 3000 -DLANGUAGE_C'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=1, d_casti32=define, d_castneg=
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lsun -lm -lc -lcrypt -lbsd -lPW
    libc=/usr/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags=' ', lddlflags='-32 -shared -L/usr/local/lib'

@INC: /usr/local/lib/perl5/IP22-irix/5.003 /usr/local/lib/perl5 /usr/local/lib/p
erl5/site_perl/IP22-irix /usr/local/lib/perl5/site_perl .




Abigail



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About