- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: C program to Compile on HP-Unix
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 01:02 PM
тАО06-02-2003 01:02 PM
Please kindly help me to compile the attached programs for a HP-UX mbnair B.10.20
The programs are simple socket related programs
Thank you for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2003 02:04 PM
тАО06-02-2003 02:04 PM
Re: C program to Compile on HP-Unix
One note: If your code is ANSI C and you don't have the optional ANSI C compiler (or gcc) then you are probably out of luck. The base compiler speaks only K&R and is really intended for building kernels and very simple c development.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2003 10:43 AM
тАО06-04-2003 10:43 AM
Re: C program to Compile on HP-Unix
I am puzzled why someone would be reluctant to open a
.zip file - it is just an archive, not an executable.
The contents of the zip file is 2 .c files - no virus risk
there. Compiling is not a risk
eather - running the program
is where the 'risk' would be.
(I would recommend not running as root in this kind
of situation).
Oh you wanted a solution? Have you considered loading
gcc for PA-RISC and compiling
it on your local machine? Otherwise, how are you going
to make changes to this in
the future?
-- Dave Ritchie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2003 09:22 AM
тАО06-06-2003 09:22 AM
SolutionIf you have not paid for the commercial C compiler, then it is not there, and you have only a minimal C compiler under /usr/bin/cc. The commercial C compiler, if available, lives under /opt/ansic/bin/cc
In that situation, a workaround consists in downloading a precompiled version of GCC from:
http://hpux.cs.utah.edu
BTW 10.20 is only supported by HP till end June 2003 I think.
Best regards,
Jean-Paul Marinier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2003 09:47 AM
тАО06-06-2003 09:47 AM
Re: C program to Compile on HP-Unix
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfc538b82cc91d711abdc0090277a778c,00.html
So mentionned to compile for you are using ANSI options you will not be able to compile with the default cc compiler, if you arent going to buy HP ACC, ther only solution is to get GNU C compiler (gcc) at one of the Porting Archive center such as:
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2/
But you will have to compile the source or look if someone can route you to a 10.20 binaries
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2003 11:53 AM
тАО07-10-2003 11:53 AM
Re: C program to Compile on HP-Unix
I've download gcc & compiling these programs are like seeking honey in the rock. I've successfully compiled the same on AIX & Unixware without this trouble.
Pls., I need some help here. If possible can some just compile & send me the objects. You don't need to execute if there is any fear.
The codes are to receive text messages & to send text messages.
Pls, I need the help in form of compiled object.
Thank you in advance.
Regards