Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!daniel From: daniel@ux1.cso.uiuc.edu Newsgroups: gnu.g++.lib.bug Subject: Re: libg++ 1.36.1 pros w/ g++ 1.36.1 Message-ID: <1023100002@ux1.cso.uiuc.edu> Date: 15 Dec 89 17:35:31 GMT References: <1023100001@ux1.cso.uiuc.edu> Lines: 37 Nf-ID: #R:ux1.cso.uiuc.edu:1023100001:ux1.cso.uiuc.edu:1023100002:000:1338 Nf-From: ux1.cso.uiuc.edu!daniel Dec 15 11:19:00 1989 In reply by rfg@ics.uci.edu, it was stated that gas should be used: >In article <1023100001@ux1.cso.uiuc.edu> daniel@ux1.cso.uiuc.edu writes: >>machine: sun 3/50 >>version: g++ 1.36/libg++ 1.36.1 >>problem: libg++ doesn't compile. Problem with builtin.cc (and possibly >>others) >>as: error (/usr/tmp/cca24306.s:2409): Invalid operand >>as: error (/usr/tmp/cca24306.s:2436): Invalid operand >This question comes up about once a week. >If you get "Invalid operand" assembler errors from G++, it means that you >are not using GAS (as you should be). I believe that the README file >or the INSTALL file says that you must use GAS for a SUN system. > >// rfg However in gnu.g++.bugs, tale GAS, GLD, GCC and G++ 12:03 am Dec 15, 1989 (at TURING.CS.RPI.EDU) (From News system) Asks the OTHER weekly question: How do I get gcc and g++ to use gas? I have it installed in /usr/local/bin/gas. Patrick.Sanchez@irisa.fr mailed me this hint: By the way, to use gas you have to put it in the directory where you put gnu-ld gnu-cpp ... should be ..../lib/ He comments, however: I managed to compile libg++ using gas (gnu-assembler)... unfortunately I had to reverse to normal as for some files. Where is the ``official'' answer documented? What is it? -- Daniel Pommert. pommert@uiuc.edu