- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gcc - disable warning
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
Discussions
Forums
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
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
тАО10-20-2005 10:12 AM
тАО10-20-2005 10:12 AM
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (/var/tmp//ccRkWsca.o) was detected. The linked output may not run on a PA 1.x system.
Well, it's ok by me that it won't run on 32bit, is there any way to make gcc not print this warning?
Alex.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 11:14 AM
тАО10-20-2005 11:14 AM
Re: gcc - disable warning
This warning is given by the ld. I am not sure about gcc and I know with ansi C
you can suppress this warning using
# cc -Wl,+vnocompatwarnings code.c
I would suggest to look the man page of ld. May you can set and export a env variable like LDOPTS so that you don't need to give those option at gcc. Look for such variable support in gcc man page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 04:40 PM
тАО10-20-2005 04:40 PM
Re: gcc - disable warning
It comes from LD, manual says
+v[no]compatwarnings This option is accepted but ignored by the 64-bit ld. Enable [disable] printing warnings about
compatibility issues between systems. This
includes any functionality which may change in future releases. The default is +vcompatwarnings. See the WARNINGS section below for further details.
The linker emits warnings where ever it detects any compatibility
issues. Among other things, these issues include architectural ones,
as well as functionality that may change over time. Some of these
include:
+ Linking a PA 2.0 object file, which will not run on a PA 1.x
system.
+ Incremental loading with the -A option.
+ Procedure call parameter and return type checking, including
the -C option.
+ Symbols with the same name but different types, such as CODE
and DATA.
+ Checking of unsatisfied symbols by the linker, which sometimes
skips certain object files from an archived library. This
warning is only given if the -v option is also provided.
+ Versioning of objects within a shared library.
These messages can be turned off with the +vnocompatwarnings option.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 06:05 PM
тАО10-20-2005 06:05 PM
Re: gcc - disable warning
http://devrsrc1.external.hp.com/STK/libscan.html
You have to compile to suite to PA1.x system as,
CC -c +DA1.0w test.c
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 08:37 PM
тАО10-20-2005 08:37 PM
Re: gcc - disable warning
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 08:46 PM
тАО10-20-2005 08:46 PM
Re: gcc - disable warning
Check this thread below :
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=964067
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 09:10 PM
тАО10-20-2005 09:10 PM
Re: gcc - disable warning
These `-m' options are defined for the HPPA family of computers:
-mpa-risc-1-0
Generate code for a PA 1.0 processor.
-mpa-risc-1-1
Generate code for a PA 1.1 processor.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 09:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 09:42 PM
тАО10-20-2005 09:42 PM
Re: gcc - disable warning
Had a brainlock or something, it's linker flags, not compiler's ...
Thanx!
Alex.