Re: gcc on HPUX 10.20 (223 Views)
Reply
Occasional Visitor
Reigle John
Posts: 1
Registered: ‎02-23-2000
Message 1 of 2 (223 Views)

gcc on HPUX 10.20

I am working on a HP Model 712/60, PA-RISC Powered, system with a gcc compiler
(v2.7) installed. I am running a makefile to perform compililation and linking
of files. When I try to run the makefile and compile I receive the following
message:

gcc -O3 -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN -c file1.c
gcc -O3 -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN -c file2.c

as: "/var/tmp/cca09674.s", line 67: error 1052: Directive name not recognized -
PARAM
as: "/var/tmp/cca09674.s", line 269: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 359: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 760: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 930: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1223: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1492: error 1052: Directive name not recognized
- PARAM
as: "/var/tmp/cca09674.s", line 1610: error 1052: Directive name not recognized
- PARAM
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


In the interest of confidetially I have changed the file names in this message
to file1 and file2. There are more files needed for compilation, but the error
occurs at this point at every compilation.

File1 doesn't contain any #include or #ifdef directives within the program; but
file2 does contain these files and only contains approximately 1300 lines of
code. In the makefile, the "-D" DEFINITIONS for HPUX platform for the gcc
compiler are as follows:

## HP Risc
HP= $(DEBUGGING) -DHPRISC -DSWAP -DNORANDOM -DNOSYSV -DAUTHENTIC -DTEXTDATE
-DBYTEALIGN
# (for extended file systems)-D_FILE_OFFSET_BITS=64 -D__STDC_EXT__


Any suggestions on what my problem is???
Occasional Advisor
kjell mesch
Posts: 9
Registered: ‎05-16-2000
Message 2 of 2 (223 Views)

Re: gcc on HPUX 10.20

It seems you either don't have or your path is wrong for the package "binutils"
Gcc (at least v.2.95.2 depends on it)

Here is a link to the thing :)
http://hpux.cs.utah.edu/hppd/hpux/Gnu/binutils-2.9.1/

/kjell
Well now I have a PA-RISC as well
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.