🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #640

Problem with g++ on HPUX

#640
From: cnbr10
Date: Wed, 19 Jun 1991 11:30
43 lines
2048 bytes
Hopefully someone can help me with this problem with g++:

I have gcc 1.39 installed and working on an HP9000/360 system running HPUX 7.0
I have compiled and installed g++ version 1.39.1 , and that all seemed
quite successful,

BUT...

When I come to use g++ to compile the src files in libg++-1.39.0 everything
goes well until I reach the file Complex.cc and I get the following errors:

as error: "/usr/tmp/cca05837.s" line 631: syntax error (opcode/operand
mismatch)
as error: "/usr/tmp/cca05837.s" line 631: sytnax error
as error: "/usr/tmp/cca05837.s" line 1235: syntax error (opcode/operand
mismatch)
as error: "/usr/tmp/cca05837.s" line 1235: syntax error

and so on...

When I investigate further I find the lines it doesn't like contain this
instruction:
	        fmov.d &0rnan,%fp0

This looks to me like an instruction for the 68881 (or 68882) math co pro.
..which the assembler should assemble ok.....unless the syntax of the 
instruction is being wrongly produced by g++...but why should it go wrong?
gcc alone compiles programs with loads of maths in them no problem...

Anyone have any solutions to this problem?

Thanks

David J.Young
-- 
_______________________________________________________________________________
  /~\           Never Trust An  |  CNBR10 Corp., VAX/VMS and UNIX Consultants
 /@@-\____---   Elephant In     |  "Pay up or we send the boys round to wipe
 / / /       \  Dark Glasses.   |   your system disk"
 l/'\  /__\  /\,                |
 \l lll   lll                   |          Service with a smile. :-)
__~_"""___"""__________________________________________________________________
Technical Details
Message-ID: <1991Jun19.113031.11893@vaxa.strath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!strath-cs!str-va!cnbr10

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!strath-cs!str-va!cnbr10
From: cnbr10@vaxa.strath.ac.uk
Newsgroups: gnu.g++.help,comp.sys.hp
Subject: Problem with g++ on HPUX
Message-ID: <1991Jun19.113031.11893@vaxa.strath.ac.uk>
Date: 19 Jun 91 11:30:31 GMT
Followup-To: poster
Organization: Strathclyde University VAX Cluster
Lines: 43