cnbr10@vaxa.strath.ac.uk (06/19/91)
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. :-) __~_"""___"""__________________________________________________________________