perl 4.010 under AIX 3.1 (3003) and AIX 3.1.5

perl 4.010 under AIX 3.1 (3003) and AIX 3.1.5

Post by Vic Abe » Thu, 13 Jun 1991 04:06:54



To make perl 4.010 pass all of its tests under AIX 3.1 (3003) I had to
compile regexec.c with -g and set the cppstdin variable to /lib/cpp.
After running Configure, edit config.sh and change the cppstdin line to:

        cppstdin='/lib/cpp'

After the line

        toke_cflags='optimize="-g"'
add:
        regexec_cflags='optimize="-g"'

Only the cppstdin change to config.sh is needed for AIX 3.1.5.


 
 
 

1. C + FORTRAN + getenv() (Was: NCAR running under AIX 3.1 update 3003)


You are essentially correct - there is a problem. However, it is possible to
mix FORTRAN and C with a C routine that calls getenv - just make sure you
link in the C runtime library... as in:

test1: $(COBJS) $(FOBJS)
        xlf $(FFLAGS) -o test1 $(COBJS) $(FOBJS) -lc

Ordinarily the linker will satisfy the reference to getenv from the FORTRAN
runtime library.

Now, there is a problem if BOTH the FORTRAN and C routines call their
respective getenvs - There can only be one getenv symbol in the final
bound product so someone looses.  

 -Scott
--
This is my signature. There are many like it, but this one is mine.

Georgia Tech                            UUCP: ..!gatech!prism!scott
Office of Information Technology, Technical Services

2. editing binary characters in vi/ex

3. X11R4 clients on AIX 3.1 (3003+) server

4. RedHat On Dell L500 - Error Installing Bootloader

5. NCAR running under AIX 3.1 update 3003

6. Booting ULTRIX

7. cu works but tip doesn't (RS/6000 AIX 3003)

8. Epson Printer Problems

9. Malloc AIX 3.1 vs. AIX 3.2

10. AIX 3.1 restore program on AIX 1.2?

11. Porting perl (patchlevel 41) to RS6000/AIX 3.1

12. perl patchlevel 37 on AIX 3.1

13. Perl/ld issues under AIX (Re: BerkeleyDB on AIX)