Xref: utzoo gnu.g++.help:17 comp.lang.c++:9989 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!cu.warwick.ac.uk!news From: news@cu.warwick.ac.uk (Network news) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: (none) Message-ID: <14278.9010161359@nettle.warwick.ac.uk> Date: 16 Oct 90 13:59:12 GMT Sender: weintrb@tut.cis.ohio-state.edu Followup-To: gnu.g++.help Distribution: gnu Organization: Gnus Not Usenet Lines: 45 Newsgroups: gnu.g++.help Path: cudcv From: cudcv@warwick.ac.uk (Rob McMahon) Subject: G++ on Sun3 under SunOS4.1 with as vs. gas Message-ID: <1990Oct16.135852.14218@warwick.ac.uk> Sender: news@warwick.ac.uk (Network news) Organization: Computing Services, Warwick University, UK Date: Tue, 16 Oct 90 13:58:52 GMT Lines: 35 I'm having real trouble getting g++ working on a Sun3 under SunOS 4.1. This is g++ version 1.37.0. With Sun's assembler I get cudcv (89) > as cmap.s as: error (cmap.s:129): Invalid operand Exit -1 cudcv (90) > cat -n cmap.s | tail -5 125 jbsr a2@ 126 addw #20,sp 127 movel sp@+,a2 128 rts 129 .stabs "___CTOR_LIST__",22,0,0,__GLOBAL_$I$cmlower cudcv (91) > gas-1.37 will assemble this, but gives me get code files that dump core as soon as you try to run them (I've posted a note to gnu.utils.bug about this). Does anyone know what Sun's assembler is complaining about ? It seems to only be files that want to add to the __CTOR_LIST__ that it complains about. With gas this gives a symbol table entry that Sun's nm doesn't recognize: cudcv (95) > nm -an cmap.o 00000000 t __GLOBAL_$I$cmlower ... 000000d8 T __GLOBAL_$I$cmlower 000000d8 ? ___CTOR_LIST__ ... cudcv (96) > Cheers, Rob -- UUCP: ...!mcsun!ukc!warwick!cudcv PHONE: +44 203 523037 JANET: cudcv@uk.ac.warwick INET: cudcv@warwick.ac.uk Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England