3k Associates Inc HP3000 FAQ TWiki TWiki > TWiki > HP3000FAQ > Hp3000Development > Hp3000PosixShell > Hp3000PosixPortingTips TWiki webs:
Main | TWiki | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }

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?

-- ChrisBartram - 09 Jun 2006



Topic Hp3000PosixPortingTips . { Edit | Attach | Backlinks: Web All webs | Printable | History: r2 < r1 More }
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.Hp3000PosixPortingTips