From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ba33,27d84c083b4aa452,start X-Google-Attributes: gid10ba33,public X-Google-Thread: 1164f8,27d84c083b4aa452,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,27d84c083b4aa452,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-03-10 13:35:35 PST Xref: sparky comp.sys.dec:1942 comp.unix.ultrix:3171 gnu.g++.help:488 Path: sparky!uunet!usc!rpi!uwm.edu!linac!convex!news.utdallas.edu!tamsun!inetg1!ut-emx!trillium!brook From: brook@trillium.BOTANY.UTEXAS.EDU (Brook Milligan) Newsgroups: comp.sys.dec,comp.unix.ultrix,gnu.g++.help Subject: g++ and ultrix Keywords: coff, ultrix, g++, gas, gnu ld Message-ID: <1380@trillium.BOTANY.UTEXAS.EDU> Date: 10 Mar 92 19:46:51 GMT Followup-To: poster Distribution: usa Organization: Dept. of Botany, Univ. of Texas, Austin I often find myself trying to program what must naturally be objects in C++, so I am trying to intall g++ on a decstation 3100 running ultrix 4.2. It seems I need to first install the gnu binary utilities ld (and gas, too?). In compiling the binutils v1.9 everything compiles (with -DCOFF_ENCAPSULATE) with the exception of ld: cc -g -DCOFF_ENCAPSULATE -c ld.c ccom: Error: ld.c, line 3976: COFF_MAGIC undefined coffheader.f_magic = COFF_MAGIC; -------------------------------------^ *** Error code 1 Where is COFF_MAGIC defined? Am I correct in defining the COFF_ENCAPSULATE macro for dec's RISC machines? With regard to gas v1.38, it appears that dec's RISC machines are not supported. Is this the case, or have I missed something? Thanks for your help. -- Brook G. Milligan Internet: brook@trillium.botany.utexas.edu Department of Botany Bitnet: bohk313@utaivc University of Texas at Austin UUCP: ...!ut-emx!brook Austin, Texas 78713 U.S.A. (512) 471-3530 | FAX: (512) 471-3878