Sponsored Content
Operating Systems AIX Older versions of the XL C/C++ Evaluation for AIX 5.3 Post 303030225 by eh2scqw on Thursday 7th of February 2019 08:59:14 AM
Old 02-07-2019
First ... I have read and understood the comment of the Moderator and I will follow the rules if I find something that would bring an older version of XLC to an old AIX version. I already have a way to "build" a working compiler with components that can be found on IBM servers, but it would not be a leagal way like the official trial/evaluation version. The email address was a way to get this discussion out of the forum.

I will contact a moderator before I post a leagal way to bring a trial verions of the IBM compiler to old AIX systems (if I find a solution).

This is what I was looking for. A working and legal version of XLC to reenact a problem that I had many years ago. GCC is not an option.

About the 43P. Really strange. The software map of this system tells: "AIX 5.1 was the last supported version". But my old, tiny and weak 7046-B50 (with the sam CPU) supported AIX 5.3.

I'm also using GCC on AIX 5.3 but it is not a good compiler for old AIX versions. The evaluation time of XL C/C++ was/is 60 days and there is a leagal way to extend this time to 72 days.
That would be more than enough time for me. I just want to compile an older version of an open source software and see it it works. GCC has problems with inline assembler code (on AIX). But it should work with the IBM compiler.
 

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 verse older versions

So if everything in Solaris 10 is dynamically linked then I have a question. If /sbin/sh in Solaris 9 and lower are statically linked and I lose my /usr libraries the system is still recoverable cause I can use root. If /sbin/sh in Solaris 10 is dynamically linked and I lose my /usr libraries... (1 Reply)
Discussion started by: x96riley3
1 Replies

2. UNIX for Dummies Questions & Answers

Versions of HP-UX or AIX

Can I install a HP-UX or IBM AIX in my home pc?. It is a Intel Pentium 4 of 64 bits. Is there any version for me?. (5 Replies)
Discussion started by: kurt1978
5 Replies

3. Shell Programming and Scripting

Script to delete older versions of unique files

I have directory where new sub directories and files being created every few minutes. The directories are like abc_date, def_date, ghi_date. I am looking to keep the latest 2 unique directories and delete everything else. Here is what I have so far This gives me unique names excluding the... (5 Replies)
Discussion started by: zzstore
5 Replies

4. AIX

apache/tomcat compatibility with AIX versions

Hello, Where can i find the information about the compatibility versions of tomcat with AIX? for example, AIX 5.2 supported tomcat versions?? (1 Reply)
Discussion started by: balareddy
1 Replies

5. AIX

Disabling an ASCI terminal in AIX versions 3 and 4

Hi, I tried to do some research on this subject, but got nothing conclusive. I have the following need: I have different servers with AIX versions 3.2.5 through 4.3.2. Some of them have two ASCI terminals connected. I have a shell script that is executed by a user on the main console... (2 Replies)
Discussion started by: andrei_r20
2 Replies

6. AIX

How do i delete files older than 15 days in AIX?

Hi i have tried searching and googling, but cant quite get there I need to delete all files in a directory that are older than 15 days here is what i have tried find /path/to/files* -mtime +15 -exec del {} \;the first section works find /path/to/files* -mtime +15but the del command dosent... (4 Replies)
Discussion started by: bluesteel
4 Replies

7. UNIX for Dummies Questions & Answers

cp command evaluation

Hi all! I'm writting one script to copy a file in various folders, but there are 2 things to validate. First that the folder where i'll be cpying exists, and second that i have permissions to copy the file in it. so far i have found the way to validate the folder exists, but when trying to... (6 Replies)
Discussion started by: feliperivera
6 Replies

8. Shell Programming and Scripting

AIX: Find a process older than 15days

Hi All, My application has specific processes when the developers start using respective GUI . I would like to find related process on server side that is older than 15 days for my application. I am using AIX 6.0. Could you please help with the command on how to find the older process? ... (5 Replies)
Discussion started by: chandu123
5 Replies

9. Shell Programming and Scripting

Evaluation of test command

Could somebody please explain to me why and how the highlighted line(s) (?) of code puts the "test" evaluation into "result" and then to $enable_static ? Or does not ? I did comment out the original code and changed it to what I feel is less cryptic , but the "result" is still wrong =... (3 Replies)
Discussion started by: anne
3 Replies
PERLOS400(1)						 Perl Programmers Reference Guide					      PERLOS400(1)

NAME
README.os400 - Perl version 5 on OS/400 DESCRIPTION
This document describes various features of IBM's OS/400 operating system that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs. By far the easiest way to build Perl for OS/400 is to use the PASE (Portable Application Solutions Environment), for more information see http://www.iseries.ibm.com/developer/factory/pase/index.html This environment allows one to use AIX APIs while programming, and it provides a runtime that allows AIX binaries to execute directly on the PowerPC iSeries. Compiling Perl for OS/400 PASE The recommended way to build Perl for the OS/400 PASE is to build the Perl 5 source code (release 5.8.1 or later) under AIX. The trick is to give a special parameter to the Configure shell script when running it on AIX: sh Configure -DPASE ... The default installation directory of Perl under PASE is /QOpenSys/perl. This can be modified if needed with Configure parameter -Dprefix=/some/dir. Starting from OS/400 V5R2 the IBM Visual Age compiler is supported on OS/400 PASE, so it is possible to build Perl natively on OS/400. The easier way, however, is to compile in AIX, as just described. If you don't want to install the compiled Perl in AIX into /QOpenSys (for packaging it before copying it to PASE), you can use a Configure parameter: -Dinstallprefix=/tmp/QOpenSys/perl. This will cause the "make install" to install everything into that directory, while the installed files still think they are (will be) in /QOpenSys/perl. If building natively on PASE, please do the build under the /QOpenSys directory, since Perl is happier when built on a case sensitive filesystem. Installing Perl in OS/400 PASE If you are compiling on AIX, simply do a "make install" on the AIX box. Once the install finishes, tar up the /QOpenSys/perl directory. Transfer the tarball to the OS/400 using FTP with the following commands: > binary > site namefmt 1 > put perl.tar /QOpenSys Once you have it on, simply bring up a PASE shell and extract the tarball. If you are compiling in PASE, then "make install" is the only thing you will need to do. The default path for perl binary is /QOpenSys/perl/bin/perl. You'll want to symlink /QOpenSys/usr/bin/perl to this file so you don't have to modify your path. Using Perl in OS/400 PASE Perl in PASE may be used in the same manner as you would use Perl on AIX. Scripts starting with #!/usr/bin/perl should work if you have /QOpenSys/usr/bin/perl symlinked to your perl binary. This will not work if you've done a setuid/setgid or have environment variable PASE_EXEC_QOPENSYS="N". If you have V5R1, you'll need to get the latest PTFs to have this feature. Scripts starting with #!/QOpenSys/perl/bin/perl should always work. Known Problems When compiling in PASE, there is no "oslevel" command. Therefore, you may want to create a script called "oslevel" that echoes the level of AIX that your version of PASE runtime supports. If you're unsure, consult your documentation or use "4.3.3.0". If you have test cases that fail, check for the existence of spool files. The test case may be trying to use a syscall that is not implemented in PASE. To avoid the SIGILL, try setting the PASE_SYSCALL_NOSIGILL environment variable or have a handler for the SIGILL. If you can compile programs for PASE, run the config script and edit config.sh when it gives you the option. If you want to remove fchdir(), which isn't implement in V5R1, simply change the line that says: d_fchdir='define' to d_fchdir='undef' and then compile Perl. The places where fchdir() is used have alternatives for systems that do not have fchdir() available. Perl on ILE There exists a port of Perl to the ILE environment. This port, however, is based quite an old release of Perl, Perl 5.00502 (August 1998). (As of July 2002 the latest release of Perl is 5.8.0, and even 5.6.1 has been out since April 2001.) If you need to run Perl on ILE, though, you may need this older port: http://www.cpan.org/ports/#os400 Note that any Perl release later than 5.00502 has not been ported to ILE. If you need to use Perl in the ILE environment, you may want to consider using Qp2RunPase() to call the PASE version of Perl. AUTHORS
Jarkko Hietaniemi <jhi@iki.fi> Bryan Logan <bryanlog@us.ibm.com> David Larson <larson1@us.ibm.com> perl v5.12.1 2010-04-26 PERLOS400(1)
All times are GMT -4. The time now is 05:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy