Operating System - HP-UX
1827894 Members
1767 Online
109969 Solutions
New Discussion

Getting Error While Compiling with GCC 4.1.2

 
Mangesh Yadav
Occasional Advisor

Getting Error While Compiling with GCC 4.1.2

Hi,

I have installed gcc 4.1.2
But while compling getting error. (gcc 4.1.2)

# gcc /tmp/hello.c
/var/tmp//ccDHSTdc.s: Assembler messages:
/var/tmp//ccDHSTdc.s:3: Error: unknown pseudo-op: `.subspa'
/var/tmp//ccDHSTdc.s:4: Error: unknown pseudo-op: `.subspa'
/var/tmp//ccDHSTdc.s:6: Error: unknown pseudo-op: `.subspa'
/var/tmp//ccDHSTdc.s:7: Error: unknown pseudo-op: `.subspa'
/var/tmp//ccDHSTdc.s:11: Error: unknown pseudo-op: `.subspa'
/var/tmp//ccDHSTdc.s:16: Error: unknown pseudo-op: `.nsubspa'

I am using HP-UX 11.23
HP-UX B.11.23 U 9000/785

Any fix for this problem.
It will be gr8 help
Thanks in Advance.

Regards,
Mangesh
4 REPLIES 4
Peter Nikitka
Honored Contributor

Re: Getting Error While Compiling with GCC 4.1.2

Hi,

I think, Merijn already has done this work for us - look at
http://mirrors.develooper.com/hpux/downloads.html

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Steven Schweda
Honored Contributor

Re: Getting Error While Compiling with GCC 4.1.2

> I have installed gcc 4.1.2

Ok. How? (Using which kit from where?)

> But while compling getting error. (gcc 4.1.2)

While compiling what? GCC, or some code of
your own? What is "ccDHSTdc.s", from where
did it come, and what's in it?
Mangesh Yadav
Occasional Advisor

Re: Getting Error While Compiling with GCC 4.1.2

I have remove all pre-requesite and installed it again. And now it is working.

Thanks for your help

Thanks,
Mangesh
Peter Nikitka
Honored Contributor

Re: Getting Error While Compiling with GCC 4.1.2

Hi,

nice that it works now! Then you have time to read
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"