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:
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.
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT REDHAT
perldgux
PERLDGUX(1) Perl Programmers Reference Guide PERLDGUX(1)NAME
perldgux - Perl under DG/UX.
SYNOPSIS
One can read this document in the following formats:
man perldgux
view perl perldgux
explorer perldgux.html
info perldgux
to list some (not all may be available simultaneously), or it may be read as is: as README.dgux.
DESCRIPTION
Perl 5.7/8.x for DG/UX ix86 R4.20MU0x
BUILDING PERL ON DG /UX
Non-threaded Perl on DG/UX
Just run ./Configure script from the top directory. Then give "make" to compile.
Threaded Perl on DG/UX
If you are using as compiler GCC-2.95.x rev(DG/UX) an easy solution for configuring perl in your DG/UX machine is to run the command:
./Configure -Dusethreads -Duseithreads -Dusedevel -des
This will automatically accept all the defaults and in particular /usr/local/ as installation directory. Note that GCC-2.95.x rev(DG/UX)
knows the switch -pthread which allows it to link correctly DG/UX's -lthread library.
If you want to change the installation directory or have a standard DG/UX with C compiler GCC-2.7.2.x then you have no choice than to do an
interactive build by issuing the command:
./Configure -Dusethreads -Duseithreads
In particular with GCC-2.7.2.x accept all the defaults and *watch* out for the message:
Any additional ld flags (NOT including libraries)? [ -pthread]
Instead of -pthread put here -lthread. CGCC-2.7.2.x that comes with the DG/UX OS does NOT know the -pthread switch. So your build will fail
if you choose the defaults. After configuration is done correctly give "make" to compile.
Testing Perl on DG/UX
Issuing a "make test" will run all the tests. If the test lib/ftmp-security gives you as a result something like
lib/ftmp-security....File::Temp::_gettemp:
Parent directory (/tmp/) is not safe (sticky bit not set
when world writable?) at lib/ftmp-security.t line 100
don't panic and just set the sticky bit in your /tmp directory by doing the following as root:
cd / chmod +t /tmp (=set the sticky bit to /tmp).
Then rerun the tests. This time all must be OK.
Installing the built perl on DG/UX
Run the command "make install"
AUTHOR
Takis Psarogiannakopoulos Universirty of Cambridge Centre for Mathematical Sciences Department of Pure Mathematics Wilberforce road Cam-
bridge CB3 0WB , UK email <takis@XFree86.Org>
SEE ALSO perl(1).
perl v5.8.0 2003-02-18 PERLDGUX(1)