Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to estimate the amount of time it will take to port an application of severall hundred thousand lines of C++ code on HP-UX 11.0 to Red Hat Linux version 4. I've experimented with it a little and it seems that most of the differences derive from the fact that Linux supports a more current C++ standard. I would appreciate any insights from anyone that has this or simlar experiences. It would be very useful if there was some documentation of the differences that I could reference.
Red Hat version 4?! That OS dates from about 1997 and is completely obsolete. Are you sure you don't need it ported to something more recent? Is some poor soul actually still running RH4.
In any case, you're correct, since C++ officially standardized fairly recently (1998 IIRC), different implementations had some differences. Nonetheless, if the app uses relatively normal C++, it shouldn't be a huge deal. There's more trouble if the original HPUX program used any HPUX only features that don't exist or work differently in Linux.
Thanks for your reply. The actual version reads something like this: "Red Hat Enterprise
Linux WS release 3 (Taroon) 2.4.21-4ELsmp on an i686", while uname -r produces
2.4.21-4ELsmp. I don't know how one would commonly reference the version.
I wrote a 5-line hello world program that required changes to two lines, or a whopping
40% of the program. so I was a little concerned. I needed to change the #include
<xxxx.h> to #include <xxxx> and had to add a namespace declaration for cout to work.
These changes were due mainly to differences in the C++ specifications. So, maybe this
isn't really a Linux/HP-UX question, but a question about the different versions of the C++
standard and doesn't belong in this forum. Do you know where I could find
documentation that details these differences?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.