- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to build a C program?
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
Forums
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
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
тАО07-08-2002 12:33 AM
тАО07-08-2002 12:33 AM
how to build a C program?
I have source code need to rebuild on new 64bit OS. I notice that I have makefiles and source .C files. But how can I perform the rebuild on HP-UX? Which C compiler I need?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 12:41 AM
тАО07-08-2002 12:41 AM
Re: how to build a C program?
This depends on the source code. There is a simple c compiler bundled with the OS but for more "serious" program development you need the C/ANSI compiler (B3988BA (workstation) or B3901BA (server)).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 12:44 AM
тАО07-08-2002 12:44 AM
Re: how to build a C program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 12:45 AM
тАО07-08-2002 12:45 AM
Re: how to build a C program?
Search for the README file with the source , which will contain instructions for compiling
the source files.
Edit makefile and customise it according to your requirements. go to the directory where
your source files are located and give make
command.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 12:52 AM
тАО07-08-2002 12:52 AM
Re: how to build a C program?
Hi,
You say "and source .C files"
As you have used a capital C in .C this
would normally indicate that your source-code
is C++.
In that case you need ansi/c++ compiler and
not the c/ansi-c compiler.
Check if you have the aCC compiler
using this command:
whereis aCC
If you get something like this:
aCC: /opt/aCC/bin/aCC /opt/aCC/share/man/man1.Z/aCC.1
you have the aCC compiler installed
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 01:01 AM
тАО07-08-2002 01:01 AM
Re: how to build a C program?
gcc is also possible and you can download it at a portal center (don't forget binutils) this is the compiler that I use most often for many open sources softwares.
About 64 bits, a real 64 bits program mean specific sources where you declare the availability of the high addressing...
If your c files are not specific 64 bits, you don't have to compile them again !!
hth
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 02:34 AM
тАО07-08-2002 02:34 AM
Re: how to build a C program?
u may need this.
C-ANSI-C B.11.01.06 HP C/ANSI C Compiler
regds
ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 06:18 AM
тАО07-08-2002 06:18 AM