Older versions of the XL C/C++ Evaluation for AIX 5.3


Login or Register to Reply

 
Thread Tools Search this Thread
# 8  
Old 1 Week Ago
bakunin,


I have already tried the GCC version from Michael Perzls page to compile a software that is not avaiable as a RPM (Hercules Mainframe Emulator). Even newer GCC version have the same problem with inline assembler code like this:


Code:
1:  lwarx   25,0,31 
    cmpw    0,25,30 
    bne 2f 
    stwcx.  0,0,31 
    bne-    1b 
    sync 
 2:

I remember, that XL C/C++ did not have this problem.


I also had to change a lot of other code to get a (almost) usable running version of Hercules.
# 9  
Old 1 Week Ago
Quote:
Originally Posted by eh2scqw
I have already tried the GCC version from Michael Perzls page to compile a software that is not avaiable as a RPM (Hercules Mainframe Emulator). Even newer GCC version have the same problem with inline assembler code like this:


Code:
1:  lwarx   25,0,31 
    cmpw    0,25,30 
    bne 2f 
    stwcx.  0,0,31 
    bne-    1b 
    sync 
 2:

I remember, that XL C/C++ did not have this problem.
I also had to change a lot of other code to get a (almost) usable running version of Hercules.
I am well aware that GCC has its shortcomings with AIX. i suggested Michael Perzls (and Michael Felts) page because i know for a fact both of them use XlC (not GCC) for compilation. It might have been that Michael Perzl had already compiled (and packaged) the software you were looking for so you could have tried it even if you don't have a XlC yourself.

In general i would not use any software compiled with GCC under AIX for any productive system (and probably not even test systems). The code quality - as you said already, especially when it comes to inline assembler - is terrible.

Another problem is that memory management in AIX is unlike any other OS i know and some programs which behave well under Linux may become memory sinks in AIX when compiled with GCC for a reason i do not claim to understand fully. But then i am so far removed from software development nowadays that this may be understandable. The days when i developed software instead of systems administration are 25 years past.

I hope this helps.

bakunin
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Help understanding evaluation order Riker1204 Shell Programming and Scripting 0 04-18-2017 06:24 PM
AIX: Find a process older than 15days chandu123 Shell Programming and Scripting 5 01-31-2012 12:28 PM
iptables latency evaluation Slaughterman Cybersecurity 2 11-01-2011 05:30 AM
cp command evaluation feliperivera UNIX for Dummies Questions & Answers 6 05-02-2011 10:39 PM
Evaluation syntax in Unix commands DJR UNIX for Dummies Questions & Answers 2 03-01-2011 03:41 PM
Using AWK in IF evaluation in KSH sniper57 Shell Programming and Scripting 4 06-04-2010 10:20 AM
How do i delete files older than 15 days in AIX? bluesteel AIX 4 03-31-2010 12:23 PM
Disabling an ASCI terminal in AIX versions 3 and 4 andrei_r20 AIX 2 03-12-2010 12:42 AM
apache/tomcat compatibility with AIX versions balareddy AIX 1 12-11-2009 01:19 PM
Script to delete older versions of unique files zzstore Shell Programming and Scripting 5 03-28-2009 06:57 PM
AWK equation evaluation. srdgeo Shell Programming and Scripting 3 11-23-2007 12:10 PM
Versions of HP-UX or AIX kurt1978 UNIX for Dummies Questions & Answers 5 05-31-2007 12:09 PM
Solaris 10 verse older versions x96riley3 Solaris 1 05-16-2006 05:35 PM