From: faq-rt@antimatr.hou.tx.us (Mark Whetzel) Newsgroups: comp.sys.ibm.pc.rt,comp.unix.aix,comp.answers,news.answers Subject: COMP.SYS.IBM.PC.RT: - AIX V2 - Part 4 of 4 - Frequently Asked Questions (and their answers) and general information, hints and tips for using AIX V2.2.x on IBM RT (615x) computers. Keywords: IBM RT PC software FAQ 6150 6151 6152 AIX VRM AOS MACH PICK Message-ID: Date: 2 Mar 94 11:04:11 GMT Expires: 15 Apr 94 11:03:30 GMT References: Sender: markw@antimatr.hou.tx.us Reply-To: aix-rt@antimatr.hou.tx.us Followup-To: comp.sys.ibm.pc.rt Lines: 229 Approved: news-answers-request@MIT.Edu Supersedes: Xref: news.lth.se comp.sys.ibm.pc.rt:2632 comp.unix.aix:35180 comp.answers:3983 news.answers:18604 Archive-name: ibm-rt-faq/aix-v2/part4 Last-modified: Tue Mar 1 06:13:03 CST 1994 Version: 1.0 Frequently Asked Questions for: AIX V2.2.1 on IBM RT systems Part 4 of 4 parts. Posted around the first of each month to comp.sys.ibm.pc.rt, and to comp.unix.aix. This FAQ is dedicated to use of the AIX Version 2 operating system, running on the IBM RISC processor known as the RT. The RT is known also as an IBM model 6150 or 6151 machine. For AIX RT submissions E-mail to: aix-rt@antimatr.hou.tx.us For AOS RT submissions E-mail to: aos-rt@antimatr.hou.tx.us For MACH RT submissions E-mail to: mach-rt@antimatr.hou.tx.us For general Q&A submissions (hardware and other stuff) E-mail to: faq-rt@antimatr.hou.tx.us Other comments and correctons should be sent to the author: Mark Whetzel DOMAIN addr: markw@antimatr.hou.tx.us BANG address: ..!uhnix1!lobster!antimatr!markw Daytime work number 8AM-5PM M-F CST VOICE: (713) 963-2544 ___--___---___--___---___--___---___--___---___--___---___--___---___--___ Changes for this November posting: 1) Initial posting. LOTS of incomplete entries. ___--___---___--___---___--___---___--___---___--___---___--___---___--___ ------------------------------ 4.0 Software porting questions P.1 Are there any archive/FTP sites for AIX/RT software? NOTE: I welcome information regarding ANY sites with RT software for any OS on IBM RT processors. I am going to add this section to each OS specific FAQ. Please send E-mail with information and/or corrections. Site: ftp-rt.matheth.polymtl.ca Maintained by: Francois Normant | Internet: fn@mathappl.polymtl.ca Ecole Polytechnique - Mathematiques | Compu$erve: 75210,525 C.P. 6079 - succursale centre ville | Tel. (514) 340-5968 Montreal - Quebec - Canada - H3C 3A7 | Fax. (514) 340-4463 Anonymous ftp site for AIX-2.2.1 softwares: ftp-rt.matheth.polymtl.ca Fsp site (port 21) for AIX-2.2.1 softwares: ftp-rt.matheth.polymtl.ca Gopher site (port 70) for AIX-2.2.1 softwares: gopher.matheth.polymtl.ca ------------------------------ P.2 General "How to I port product " to AIX V2 ? In general, I have not found a piece of PD software that I could not make run correctly on AIX/RT, short of code that makes specific dependencies on features either missing from the AIX kernel (such as job control), or code that attempts to directly manipulate hardware or assumes a particular hardware attachments or processor type. Some programs that attempt to deal with kernel information or variables can be difficult to impossible to port. There are several unique portions to AIX V2 for the IBM RT that can give problems. The general most problem areas are: - Differences in signal handling. * AIX/RT uses SYSV style signal handling. To use BSD style signals, add the -DBSD_REMAP_SIGNAL_TO_SIGVEC to your compile options. - Some missing library routines, most common are: * strerrno, GNU software has some replacement routines with their code. NOTE: If other routines are identified and coded, and you would like to contribute your work, I hope to add any contributions to the body of this part of the FAQ. - Macro/include headers that may be different or missing. * stdlib.h is missing, and usually not needed. If you have some problems, add the following: #include * 'syslog.h' is located in #ifdef AIX #include #else #include #endif * Programs needing file locking need to use fcntl. * File functions needing O_NDELAY, and O_RDWR flags will need to include - Macro heavy sources, like X11 will need to override the table sizes in the compiler. See section S.xx on compiler flags that can be helpful in this area. - Missing commands, or commands with different flags. * The most common problem is with grep and awk. This can be fixed by replacing them with the GNU versions of these tools. This list is incomplete... please feel free to send additions on porting difficulties. ------------------------------ P.3 BIND 4.8.3 (domain name server, and resolv libraries) I have it ported and running, I will add it shortly to this FAQ. - MW ------------------------------ P.4 GDBM (Gnu DBM replacement) I have it ported and running, I will add it shortly to this FAQ. - MW ------------------------------ P.5 IDA Sendmail 5.65c+IDA-1.4.4.1 I have it ported and running, I will add it shortly to this FAQ. - MW ------------------------------ P.6 ELM 2.3 PL11 or 2.4 PL20 I have it running. No porting was really necessary, just answer the config questions correctly. ------------------------------ P.7 X11 R4 or R5. Clients and libs are easy, mostly proper compile flags. I am working on servers for R5, but it will take me a LONG while, sorry. - MW ------------------------------ P.8 GCC I have the notes posted to the net, I just need to organize them and add them to this section. - MW ------------------------------ P.9 inn 1.4 I have it ported and running, I will add it shortly to this FAQ. - MW ------------------------------ P.10 xv-2.1 (or xv-3.x) I have it ported and running, I will add it shortly to this FAQ. - MW ------------------------------ P.11 Kermit Anybody? Version and changes. ------------------------------ P.12 Gopher 2.011 I have it ported and running, I will add it shortly to this FAQ. - MW ------------------------------ P.13 GNU fileutil-3.9 I have it ported and running, I will add it shortly to this FAQ. - MW (I know about the one on the archive server... I have the 'df' command working on my version.. I will post diffs shortly!) ------------------------------ P.14 others? Please feel free to contribute! ------------------------------ 9.0 Credits, Acknowledgements and other information. X.1 - Acknolowgements and copyright information. This file is provided AS IS with no warranties of any kind as to the usefullness/correctness of these procedures/questions. The author shall have no liability with respect to the infringement of copyrights, trade secrets or any patents by this file or any part thereof. In no event will the author be liable for any lost revenue or profits or other special, indirect and consequential damages. IBM, AIX, AT, XT, RT, RT PC and RT Personal Computer are trademarks of International Business Machines Inc. UNIX is a registered trademark of American Telephone & Telegraph in the United States of America and other countries. Any other trademarks not specifically mentioned are owned by their respective companies. Credits: The following people have either submitted articles for inclusion, made suggestions, or had parts of old articles included within re-arranged information. If you want your name dropped please let me know. Marc Brett Jon Brinkmann John Carr David L. Crow Bjorn Engsig Mike Johnson James Moody John R. Moore Francois Normant Gerald Oskoboiny Herb Peryel Richard Rogers Matt Rush Russell Schulz Nick Simicich David Snearline John Tracey Andrew Yoemans *** END of AIX/RT FAQ *** ===================== end of ibm-rt-faq/aix-v2/part4 =========================== -- AIX..... NOT just another UNIX. (tm) Mark Whetzel | My own RT system.. My own thoughts.. DOMAIN: markw@antimatr.hou.tx.us | IBM RT/135 running AIX 2.2.1 UUCP ..!menudo!lobster!antimatr!markw | comp.sys.ibm.pc.rt FAQ maintainer.