- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ansi c compiler
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
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
тАО10-17-2001 06:07 PM
тАО10-17-2001 06:07 PM
ansi c compiler
i have a A400 with 11.00 and trying to install BIND on it it's giving an error during the compile. my questions are:
1.how do i know what compiler i have that came with the preinstalled OS?
2.where can i get the ansi C compiler?i have looked all the application CD 5 of them. i've tried looking at them with swinstall, but i don't even know where to begin.very confusing layout.if not in the CD, can i get it someplace else?
3.any tips on compiling BIND?
thanks everybody.
have a good one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 06:24 PM
тАО10-17-2001 06:24 PM
Re: ansi c compiler
The ANSI/C compiler is a product you have to purchase separately from HP. For more information:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B3899BA
aC++ - C++ compiler
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_name=aC%2B%2B&group_image=cat_featured.gif&group_type=family
Instead of HPs compilers you might try the Gnu C compiler. It's FREE!
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.1/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:01 PM
тАО10-17-2001 07:01 PM
Re: ansi c compiler
1. The default cc compiler is mostly used for building kernels. You cannot use it to build most of the GNU tools.
2. HP's Ansi C compiler costs money ($$$). IF your only need for this is to build gnu tools, then you are better off installing gcc (FREE).
But if you want to find out more about Ansi C.
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1853,00.html
For more information
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1857,00.html
To download gcc, use any of the porting centers to install binaries or download the source code from
http://www.gnu.org/directory/gcc.html
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:07 PM
тАО10-17-2001 07:07 PM
Re: ansi c compiler
You do have a 'c' compiler that comes
as part of the operating system,but
all in all it quite useless.
You will have either buy the 'ANSI/C'
compiler from HP or you can download
either the source or already compiled
GNU C compiler. The best part about this
particular one is that is free.
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.0.1/
A BIND version comes as part of the
operating system already, although you
can obtain your own BSD version if you
wish.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2001 12:08 AM
тАО10-18-2001 12:08 AM
Re: ansi c compiler
Since ansi C is widely used in all the programming, the standard C compiler which comes along with OS does compile, so you need to install HP aC compiler, which can be installed with codeword. So you need to buy licence for HP aC compiler, which will be available in 1of4 for 10.2 and 2of5 for 11.0 in application CD's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2001 01:52 AM
тАО10-18-2001 01:52 AM
Re: ansi c compiler
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
I realize it might a bit older then the one in the porting center, but since its from HP, there *might* be a chance that they'll support it(?).
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2001 10:47 PM
тАО10-18-2001 10:47 PM
Re: ansi c compiler
i have 8.2.3 on HPUX 11.00, i read somewhere that HPUX not supported on 8.1.2.
if i have 8.2.3 and i installed GCC compiler, is there anyway of compiling BIND in GCC, it's looking for ANSI C compiler, which i don't have. will it be too hard to reconfigure the script to look for gcc instead of ansi c?i know the answers are kinda long, but i really need help. i saw a 8.1.3 on software.hp.com. that'll be my last recourse.
thanks everybody
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2001 11:15 PM
тАО10-18-2001 11:15 PM
Re: ansi c compiler
Tn answer your questions, according to HP the only supported versions are;
Up to 8.1.2 on 11.0
Up to 9.1.3 on 11.11
Both available from software.hp.com
If you have 8.2.3 installed and want to compile it using gcc then all you should need to do is edit the Makefile and change the line where is says CC = cc to CC = gcc (may need the full path for gcc).
Then run make.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2001 12:12 AM
тАО10-19-2001 12:12 AM
Re: ansi c compiler
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2001 07:48 AM
тАО10-19-2001 07:48 AM
Re: ansi c compiler
e.g.
again thanks for all the help