HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc install problem
Operating System - HP-UX
1833752
Members
2615
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-11-2002 03:22 AM
12-11-2002 03:22 AM
gcc install problem
#swinstall -x allow_incompatible=true -s /data1/kmms_src/k4m/gcc-3.2-sd-11.00.depot gcc
sample test.cpp
#include
int main()
{
cout << "Hello\n";
}
#g++ -o test test.cpp
/usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated.
What's Problem?
sample test.cpp
#include
int main()
{
cout << "Hello\n";
}
#g++ -o test test.cpp
/usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the
What's Problem?
cyber_dol
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 03:36 AM
12-11-2002 03:36 AM
Re: gcc install problem
Would you be able to rebuild gcc from it's source (ftp://ftp.nluug.nl/mirror/languages/gcc/snapshots/gcc-3.2.1-20021111.tar.bz2 )using the installed gcc?
Gcc adapts to the system by altering the system include files to it's own path while building. Please note that in order to successfully build gcc on HP-UX, you need recent binutils. More guidance can be found on my ITRC page at https://www.beepz.com/personal/merijn where you can also find my ports of gcc/binutils on HP-UX 10.20 and 11.00
Gcc adapts to the system by altering the system include files to it's own path while building. Please note that in order to successfully build gcc on HP-UX, you need recent binutils. More guidance can be found on my ITRC page at https://www.beepz.com/personal/merijn where you can also find my ports of gcc/binutils on HP-UX 10.20 and 11.00
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 03:38 AM
12-11-2002 03:38 AM
Re: gcc install problem
Why did you use -x allow_incompatible=false when you installed it ? do you have multiple versions of gcc installed ?
what does; swlist -l fileset | grep gcc
show ? > 1 version ?
I think you have multiple versions installed and to be clean remove all versions of gcc and only install the one you want or else compiles can get confused.
what does; swlist -l fileset | grep gcc
show ? > 1 version ?
I think you have multiple versions installed and to be clean remove all versions of gcc and only install the one you want or else compiles can get confused.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 12:45 AM
12-12-2002 12:45 AM
Re: gcc install problem
There is nothing wrong with the gcc installation. It is simply complaining about , as that is depracated and replaced with
If you read the warning it emits, it becomes obvious.
If you read the warning it emits, it becomes obvious.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP