LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-17-2011, 10:46 PM   #1
AlbertJJ
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 10:48 PM. Reason: detail
 
Old 05-17-2011, 11:42 PM   #2
paulsm4
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.

Suggestion:
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
 
  


Reply

Tags
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 10:01 PM
LXer: Setting the SUID/SGID bits: Giving a program YOUR permissions when it runs LXer Syndicated Linux News 0 03-09-2007 08:16 PM
about hpux - documentation & installation program kpachopoulos Other *NIX 1 01-26-2005 12:49 AM
Benifits of compling a program on bsd rather than getting a exicutable nazzymac *BSD 6 04-02-2004 05:10 PM
how to swap bits via C program aashishagrawal Programming 3 11-20-2002 04:17 AM


All times are GMT -5. The time now is 09:47 AM.

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