Slashdot Mirror


Linux And HP-UX?

suwalski writes: "I have a question for all of the mklinux Gods out there. At work I'm forced to use HP-UX, which is all nice and good, but I prefer Linux. I went looking around and found that mklinux is supposed to run on HPPA (which is the type of CPU my HP-712/100 has). I haven't been able to find any useful information on how to go about this, and I'd be very happy to hear comments and tips from anyone who uses Linux on HP's regularly."

1 of 6 comments (clear)

  1. HP-UX by Alex+Belits · · Score: 3

    HP-[s]UX is a very weird system, however I doubt that mklinux will be any better on HP-PA. I can offer just few tips that can make things easier.

    1. Use gcc instead of native compiler, especially for C++ -- last time I have seen their native C++ compilers, they didn't work with HP-UX include files, returned "Assertion failed" and otherwise behaved in some braindamaged manner.
    2. When writing for HP-UX look at the manual page for mallopt() function -- malloc() on HP-UX has very inefficient defaults, and I had horrible performance of C++ programs until I've set its limit for "small blocks".
    3. Install your favorite shell, gnu tools, widgets library, etc. -- they will all compile on HP-UX, and you will need them.
    4. Fix terminal settings if you don't like them, and put them into login scripts.
    5. Use Linux box as X terminal with its own window manager and ssh, or compile your favorite window manager on HP-UX box -- CDE sucks.
    --
    Contrary to the popular belief, there indeed is no God.