- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- Re: gcc/cc compile error
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
09-08-2009 06:40 AM
09-08-2009 06:40 AM
gcc/cc compile error
I have a HP-UX 11.11. I installed from Porting And Archive Centre for HP-UX a gcc compiler. When I try to compile with it I get the below error message. Same if use the cc that came installed.
bash-2.04# cc test.c
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (test.o) was detected
. The linked output may not run on a PA 1.x system.
bash-2.04# gcc test.c
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (/var/tmp//ccX0Ejgg.o
) was detected. The linked output may not run on a PA 1.x system.
Can anybody help me with this issue ?
Thanks in advance,
Stefan
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-08-2009 06:52 AM
09-08-2009 06:52 AM
Re: gcc/cc compile error
This isn't an error, it's a warning (as noted).
This isn't from the compiler, its from the linker.
There is nothing to be concerned about unless you have a very ancient piece of hardware!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-08-2009 07:10 AM
09-08-2009 07:10 AM
Re: gcc/cc compile error
thanks for the answer.
I cannot build a simple .c source code that contains a printf because of the error.
The model command returns: 9000/785/B2600.
Do you have any ideea how could I fix this ?
Regards,
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-08-2009 08:53 AM
09-08-2009 08:53 AM
Re: gcc/cc compile error
If you want to build PA-RISC 1.1 code, then you can compile with +DA1.1 as for example:
# cc +DA1.1 -o foo foo.c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-10-2009 12:23 AM
09-10-2009 12:23 AM
Re: gcc/cc compile error
>I cannot build a simple .c source code that contains a printf because of the error.
You need to show the error.
>JRF: If you want to build PA-RISC 1.1 code, then you can compile with +DA1.1
If you are using a foreign devil compiler you'll need to use something like: -march=1.1
- Tags:
- foreign devil tools
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP