- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems building gcc 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
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-09-2001 05:42 AM
11-09-2001 05:42 AM
Problems building gcc compiler
To configure GCC:
% mkdir objdir
% cd objdir
% srcdir/configure
As far as I could tell that completed fine.
I then went to the next step of Building GCC and when I do make bootstrap I get the following:
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C pro
duct; ignored.
Bootstrapping the compiler
sh[5]: gcc: not found.
*** Error exit code 1
There were several warning 480 messages.
Any help would be greatly appreciated.
thanks,
Gre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 06:50 AM
11-09-2001 06:50 AM
Re: Problems building gcc compiler
I have had numerous problems with running compilers on HP-UX, as it keeps complaining about not using ANSI-C. So much for any support of open source ;-)
Anyway, there are some depot versions of GCC available, try doing a search for 'gcc HP-UX depot'. Swinstall makes things a bit easier.
Cheers!
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 07:02 AM
11-09-2001 07:02 AM
Re: Problems building gcc compiler
http://hpux.cs.utah.edu/
The ANSI C compiler is much more reliable however. I have never had a problem compiling software using ANSI C on hpux.
Good Luck,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 07:35 AM
11-09-2001 07:35 AM
Re: Problems building gcc compiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 08:09 AM
11-09-2001 08:09 AM
Re: Problems building gcc compiler
thanks,
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 11:36 AM
11-09-2001 11:36 AM
Re: Problems building gcc compiler
Any time you use gnu's gcc, or quite a few other open source programs, you usually will need gnu's make, ld, and "as" assembler for hpux. Otherwise these products won't usually work.
I'm glad you found your answer though! Don't forget to assign points to those that directed you to the depot's.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 08:11 AM
01-14-2002 08:11 AM
Re: Problems building gcc compiler
The big difference between these two is the fact that the latter is only 32-bit and the HP.com ones support both 32-bit and 64-bit [two seperate depot files, which install in different locations].
Harry: HP.com's gcc is configured with /usr/ccs/bin/ld. Which works ok since they added translation switches to the specs file. Now to fix the remainder though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 08:42 AM
01-14-2002 08:42 AM
Re: Problems building gcc compiler
# whence -v cc
cc is a tracked alias for /usr/bin/cc
# cd /usr/bin
# ll cc
lr-xr-xr-t 1 root sys 17 Mar 2 01:34 cc -> /opt/ansic/bin/cc
# echo $PATH
see if your PATH variable contains above.
More info can be found @: http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
g'd luck
t++