i'm a senior applications developer and need to port a Linux server application ( no additional / special libraries or unique header files ) to a HPUX enviroment.
Any chance to compile it on the Linux using flags to create an HPUX binary with gcc?
I use both gcc and HPUX's cc/aCC compilers on Itanium2, PA-RISC 1.1 and PA-RISC 2.0 running HP-UX 11.11 in both 32bit and 64bit mode and they both do the job well.
In addition to "-Wall -Werror" as porter has already mentioned i would consider including "-ansi pedantic" in the list of standard compiler options. It pays to give out only programs which don't produce any error this way.