Operating System - Linux
1751771 Members
4491 Online
108781 Solutions
New Discussion юеВ

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

 
coolaqua
Occasional Advisor

Need gcc 2.95.3 depot for 11.31 (both IA & PA)

Hi,
Does anybody has depot for gcc2.95.3 (for both IA & PA)..?

I downloaded this version for PA from
mirrors(dot)develooper(dot)com/hpux/downloads.html

I did not face any problem in installing this. But when i tried to execute a simple program (Hello World), I got the following error

/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: `__va__list' redefined
/usr/include/sys/stdsyms.h:537: warning: this is the location of the previous definition
as: "/var/tmp/ccuXzJda.s", line 22: error 1052: Directive name not recognized - NSUBSPA


I even tried to build the gcc source. But could not. I have attached the build output for your reference..

Please help me to resolve this...

Thanks

13 REPLIES 13
Dennis Handly
Acclaimed Contributor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

as: "ccuXzJda.s", line 22: error 1052: Directive name not recognized - NSUBSPA

This means you aren't using the foreign devil version of as(1). Possibly gas?
Steven Schweda
Honored Contributor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

> Need gcc 2.95.3 [...]

Why? It's almost prehistoric. What's wrong
with any of the more current (and more easily
available) GCC versions?
Steven Schweda
Honored Contributor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

> I downloaded this version for PA from
> mirrors(dot)develooper(dot)com/hpux/downloads.html

Really? I don't see a GCC 2.95.3 kit there
for HP-UX 11.31 (which is considerably newer
than GCC 2.95.3, by the way). Oh, I see.
You seem to have gotten the kit for a much
older HP-UX version, and apparently expected
it to work on 11.31. Good luck with that.
coolaqua
Occasional Advisor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

@Dennis
Thanks for the info... I am using GNU's assembler -
GNU assembler version 2.17 (ia64-hp-hpux11.23) using BFD version 2.17

@steven
Thanks for your reply...

There is a dependency for gcc-2.95.3 in my application.

I know there is no gcc 2.95.3 kit for 11.31 on that website. As a workaround, first I tried installing the available kit. Then tried to build the code (both activities doen on PA m/c).

Want to know If it is possible to achive what I am trying to...? Pls advice..


Any suggestions/pointers are welcome...

Thanks
Dennis Handly
Acclaimed Contributor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

>I am using GNU's assembler -
GNU assembler version 2.17 (ia64-hp-hpux11.23) using BFD version 2.17

The error message seems to be for PA (NSUBSPA) but you are listing an IPF assembler??

The important question is gcc using the gnu assembler?
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1177694
coolaqua
Occasional Advisor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

Oops.!! This is the version of 'as' i m using..

GNU assembler version 2.17 (hppa64-hp-hpux11.11) using BFD version 2.17

Thanks
Dennis Handly
Acclaimed Contributor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

>This is the version of 'as' I'm using..

This is the version you want to use but you're not.
Compile with -v and see which "as" you are using.
coolaqua
Occasional Advisor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

Hi Dennis,
I explicitly mentioned the 'as' path in the command line. Following is the error message I got:

var/tmp/ccYQIASa.s: Assembler messages:
/var/tmp/ccYQIASa.s:2: Error: unknown pseudo-op: `.subspa'
/var/tmp/ccYQIASa.s:3: Error: unknown pseudo-op: `.subspa'
/var/tmp/ccYQIASa.s:5: Error: unknown pseudo-op: `.subspa'
/var/tmp/ccYQIASa.s:6: Error: unknown pseudo-op: `.subspa'
/var/tmp/ccYQIASa.s:14: Error: unknown pseudo-op: `.subspa'
/var/tmp/ccYQIASa.s:37: Error: unknown pseudo-op: `.nsubspa'
/var/tmp/ccYQIASa.s:59: Error: unknown pseudo-op: `.nsubspa'
*** Error exit code 1

Stop.
*** Error exit code 1

Thanks
Dennis Handly
Acclaimed Contributor

Re: Need gcc 2.95.3 depot for 11.31 (both IA & PA)

>I explicitly mentioned the 'as' path in the command line.
ccYQIASa.s:2: Error: unknown pseudo-op: `.subspa'

Well, this isn't the previous HP's PA as(1) error output. It may be the GNU IPF assembler?