- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to check that gcc is working or not for HP...
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
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
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
11-06-2007 02:43 AM
11-06-2007 02:43 AM
How to check that gcc is working or not for HP UX.
Just i have installed gcc-2.95.3-11.00.sd without proble.
It got installed at /opt/gcc directory, and i made entry in .profile file.
How i know that gcc is working or not.
Regards,
Viswa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:00 AM
11-06-2007 03:00 AM
Re: How to check that gcc is working or not for HP UX.
Perhaps, use the gmake or gcc to compile some code.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:03 AM
11-06-2007 03:03 AM
Re: How to check that gcc is working or not for HP UX.
--------------------------------
#include
int main()
{
(void) printf("Hello world\n");
return(0);
}
-----------------------------------
gcc myprog.c -o myprog
then execute myprog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:14 AM
11-06-2007 03:14 AM
Re: How to check that gcc is working or not for HP UX.
With previous program, i got following error.
/opt/gcc/bin> gcc /home/root/hello.c
gcc: installation problem, cannot exec `as': No such file or directory
Regards,
Viswa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:20 AM
11-06-2007 03:20 AM
Re: How to check that gcc is working or not for HP UX.
Did you install binutils package?
Best Regards
Murat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:22 AM
11-06-2007 03:22 AM
Re: How to check that gcc is working or not for HP UX.
I donot think so.
Where can i get it ? Do u have any url for it ?
Regards,
Viswa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:29 AM
11-06-2007 03:29 AM
Re: How to check that gcc is working or not for HP UX.
I cannot understand why you still open one new thread after another regarding the same problem in background.
see
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1173152
and
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1175230
and also the others of your last threads.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:30 AM
11-06-2007 03:30 AM
Re: How to check that gcc is working or not for HP UX.
1. check your PATH an include /usr/ccs/bin if its not there and then try compiling again
PATH=$PATH:/usr/ccs/bin
2. check /usr/ccs/bin/as file is there or not
3. Check the swlogs to see if there was any error during install.
most likely it could be due to PATH problem, so point 1 should help to resolve the problem.
Regards,
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 03:36 AM
11-06-2007 03:36 AM
Re: How to check that gcc is working or not for HP UX.
HP-Ux software porting center has new version of gcc with binutils
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.2.1/
Best Regards
Murat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2007 06:33 AM
11-06-2007 06:33 AM