- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: [hpux 11.31] gcc 4.7.1 install question
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
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
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
01-30-2017 05:53 PM
01-30-2017 05:53 PM
Hi, I am developing a s/w package on hp ux 11.31 and it requires gcc (c++11 support).
I installed both gcc-4.2.3 and gcc-4.7.1, but I got -std=c++11 error for gcc-4.2.3.
So, I installed gcc-4.7.1 and got error about hpux 11.23 and hpux 11.31 issue.
I tried to fix errors using mkheaders but it doesn't work.
( https://community.hpe.com/t5/Languages-and-Scripting/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061767 )
Is there any way for me to install gcc-4.7.1 for hp ux 11.31?
or can I get gcc-src-4.7.1.depot.gz without AllianceOne membership (it's program doen't exist any more) from
Thanks in advance.
BS Lee
Solved! Go to Solution.
- Tags:
- gcc
- hp ux 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 03:40 PM
01-31-2017 03:40 PM
SolutionI found below link, and it helps some errors fix.
/opt/hp-gcc-4.7.1/libexec/gcc/ia64-hp-hpux11.23/4.7.1/install-tools/mkheaders -v /opt/hp-gcc-4.7.1
Now, I got new errors like this : error: 'to_string' is not a member of 'std'
Does anyone can guide me about this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 05:23 PM
01-31-2017 05:23 PM
Re: [hpux 11.31] gcc 4.7.1 install question
I found work around way. I used method 2 instead of std::int2str().
http://stackoverflow.com/questions/5590381/easiest-way-to-convert-int-to-string-in-c
Thanks.
BS Lee