- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gcc complains about ASM directives -> HP as is...
Operating System - HP-UX
1767188
Members
3057
Online
108959
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
Discussions
Discussions
Forums
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
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
тАО04-18-2002 11:47 AM
тАО04-18-2002 11:47 AM
gcc complains about ASM directives -> HP as is being called?
as: warning 2: Unknown option "--traditional-format" ignored.
as: "/var/tmp/ccZCpQ0a.s", line 10: error 1052: Directive name not recognized - FILE
as: "/var/tmp/ccZCpQ0a.s", line 11: error 1052: Directive name not recognized - STABS
as: "/var/tmp/ccZCpQ0a.s", line 47: error 1052: Directive name not recognized - NSUBSPA
I think I am getting the HP assembler. But the problem is, I changed my path to /data/tools/binutils/bin, and when I do a which as I get:
/data/tools/binutils/bin/as
But it seems that even so, gcc still is going after HP asm. How can I make gcc find the binutils as?
Or is this really the problem? Maybe something else is wrong? I am trying to use my 3.0.1 binary, or even the 3.0.4 I got from http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.4/.
The 3.0.4 gives the same errors the 3.0.1 is giving (the asm errors)
Any ideas?
as: "/var/tmp/ccZCpQ0a.s", line 10: error 1052: Directive name not recognized - FILE
as: "/var/tmp/ccZCpQ0a.s", line 11: error 1052: Directive name not recognized - STABS
as: "/var/tmp/ccZCpQ0a.s", line 47: error 1052: Directive name not recognized - NSUBSPA
I think I am getting the HP assembler. But the problem is, I changed my path to /data/tools/binutils/bin, and when I do a which as I get:
/data/tools/binutils/bin/as
But it seems that even so, gcc still is going after HP asm. How can I make gcc find the binutils as?
Or is this really the problem? Maybe something else is wrong? I am trying to use my 3.0.1 binary, or even the 3.0.4 I got from http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.4/.
The 3.0.4 gives the same errors the 3.0.1 is giving (the asm errors)
Any ideas?
What we do in life echoes in eternity
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2002 12:59 PM
тАО04-18-2002 12:59 PM
Re: gcc complains about ASM directives -> HP as is being called?
Strange. IIRC --traditional-format should be an option to gcc that would force gcc to emit HPas code instead of gas code.
have you tried -mpa-risc-2-0 or -mpa-risc-1-1 as option to gcc?
have you tried -mpa-risc-2-0 or -mpa-risc-1-1 as option to gcc?
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2002 10:59 AM
тАО04-19-2002 10:59 AM
Re: gcc complains about ASM directives -> HP as is being called?
I found a way to make gcc to "see" the correct assembler.
I am setting the environment variable "COMPILER_PATH=/binutils/bin" and that solved it.
I am setting the environment variable "COMPILER_PATH=/binutils/bin" and that solved it.
What we do in life echoes in eternity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2004 08:46 PM
тАО11-03-2004 08:46 PM
Re: gcc complains about ASM directives -> HP as is being called?
I installed gcc/g++(version 3.4.2) on HPUX 11i with the depot downloaded from HP website. But when I tried to compile C code file errors occured as the following:
as: "/var/tmp//cc6YlAQL.s", line 14: error 1052: Directive name not recognized -
NSUBSPA
as: "/var/tmp//cc6YlAQL.s", line 41: error 1052: Directive name not recognized -
NSUBSPA
......
What is wrong with my compiling?
Your advices are appreciated.
as: "/var/tmp//cc6YlAQL.s", line 14: error 1052: Directive name not recognized -
NSUBSPA
as: "/var/tmp//cc6YlAQL.s", line 41: error 1052: Directive name not recognized -
NSUBSPA
......
What is wrong with my compiling?
Your advices are appreciated.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP