[comp.sys.ibm.pc.rt] Unix utils...

rainwatr@ucqais.uc.edu (Donald J. Rainwater) (04/26/89)

	I'm trying to get some "standard" Unix utilities to work on my
RT (AIX 2.2.1).  I want to build the compress program with the ability
to work with 16 bits.  When I compile with -DBITS=16 I don't get any
errors, but I get "Memory fault - core dumped" when I try to uncompress
something.  Can someone tell me how compress should be built for AIX?

	I also have rzsz.  It builds okay and doesn't get any errors,
but I don't think I'm using it properly.  Can anyone shed some light
on this?

	Finally, I would appreciate it if someone could describe the
differences I need to be aware of when building these and other programs.
Most Makefiles don't include sections for building under AIX.  What's
the closest approximation (BSD, SYSV) ?

	Thanks for any info.
-- 
Don Rainwater, University of Cincinnati Computer Center
rainwatr@ucbeh.san.uc.edu
rainwatr@ucbeh.bitnet
rainwatr@ucqais.uc.edu

crash@jc3b21.UUCP (Frank J. Edwards) (04/29/89)

From article <1663@ucqais.uc.edu>, by rainwatr@ucqais.uc.edu (Donald J. Rainwater):
> 
> 	I'm trying to get some "standard" Unix utilities to work on my
> RT (AIX 2.2.1).  I want to build the compress program with the ability
> to work with 16 bits.  When I compile with -DBITS=16 I don't get any
> errors, but I get "Memory fault - core dumped" when I try to uncompress
> something.  Can someone tell me how compress should be built for AIX?

Hmmm...  I didn't have any problem!  I moved the source to the RT and
compiled with no problems.  I know this doesn't help, but ... :-)

> 	I also have rzsz.  It builds okay and doesn't get any errors,
> but I don't think I'm using it properly.  Can anyone shed some light
> on this?

I haven't even heard of that one.

> 	Finally, I would appreciate it if someone could describe the
> differences I need to be aware of when building these and other programs.
> Most Makefiles don't include sections for building under AIX.  What's
> the closest approximation (BSD, SYSV) ?

System V.2 is the closest, exact match.  However, AIX also has alot
of features from V.3 (shared libraries and such) and a few from BSD4.3
(like enhanced signals and some of the ioctl() stuff).

The best list of compatibilities is probably in the Manual/book labeled
"Operating System Diskettes, Volume I".  At the back of that manual is
a pamphlet called "Installation Diskettes"; it details what is included
in AIX concerning programming modules as well as user features.

> 	Thanks for any info.

No sweat.

> Don Rainwater, University of Cincinnati Computer Center
> rainwatr@ucbeh.san.uc.edu
> rainwatr@ucbeh.bitnet
> rainwatr@ucqais.uc.edu

Frank "Crash" Edwards
...!uunet!pdn!jc3b21!crash