%META:TOPICINFO{author="ChrisBartram" date="1170385171" format="1.1" version="1.2"}% %META:TOPICPARENT{name="Hp3000PosixShell"}% ---+ [[Hp3000PosixPortingTips][Porting tips for POSIX applications on the HP3000]] I just got a nice little piece of info from MKS. To make an alias for cc to c89, do the following:
  shell/ix> ln -s /SYS/HPBIN/C89 /bin/cc
  shell/ix> ln -s /etc/c89.ccg /etc/compiler.ccg
This makes cc a legitimate alias for c89 even inside make. I like it because it's one less change I need in the makefiles that come with Unix software. When making mods to source code, the following two IFDEFs are the standards for identifying: --[[SteveElmer]] __GNUC__ GNU C Compiler --[[MarkKlein]] __hp3000s900 HP3000 Series 900 (i.e. MPE/iX) For a detailed paper on porting issues in the MPE/iX POSIX environment, see Mark Bixby's paper at http://www.cccd.edu/~markb/porting.html. Mark is one of the most experienced "porters" of applications to MPE/iX and has ported many applications including BIND, Sendmail, Apache, and others.. --[[MichaelHensley]] -- Main.ChrisBartram - 09 Jun 2006