🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by cnbr10 Wed, 19 Jun 1991 11:30
Problem with g++ on HPUX
#640
Author: 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. :-)
__~_"""___"""__________________________________________________________________
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads