Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-17-2011, 09:46 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 12

Rep: Reputation: 0
Exclamation Compling C program for HPUX on IA/PA 64 bits

Hello Guys,

I had developed a C program on linux (x86). Now I need to port it to HP-UX OS on IA/PA 64 bit arch. What are the options to be used with cc compiler, on linux (x86), so that this could be done, if at all. Any web resource that can help?

Thanks a lot!

Last edited by AlbertJJ; 05-17-2011 at 09:48 PM. Reason: detail
Old 05-17-2011, 10:42 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
In theory, there might be NO problems - just recompile.

1. Set your hp compiler for FULL warnings
2. See if it compiles.
3. Scrutinize the warnings. See if any of them "look dangerous".
Post back with any questions you might have.
4. Try running it. See how far it gets.
5. Examine the code, analyze your application .. and try to devise as many tests as you think you need.

'Hope that helps .. PSM


cc, compiler, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts problem when migrating application program from HPUX to RHEL how9ss Linux - Newbie 0 10-09-2007 09:01 PM
LXer: Setting the SUID/SGID bits: Giving a program YOUR permissions when it runs LXer Syndicated Linux News 0 03-09-2007 07:16 PM
about hpux - documentation & installation program kpachopoulos Other *NIX 1 01-25-2005 11:49 PM
Benifits of compling a program on bsd rather than getting a exicutable nazzymac *BSD 6 04-02-2004 04:10 PM
how to swap bits via C program aashishagrawal Programming 3 11-20-2002 03:17 AM

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration