From: CRDGW2::CRDGW2::MRGATE::"SMTP::PREP.AI.MIT.EDU::HELP-G++-REQUEST" 16-MAR-1991 00:25:27.49 To: ARISIA::EVERHART CC: Subj: g++-1.39 on SunOS 4.1.1 -- problem linking From: help-g++-request@prep.ai.mit.edu@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.91) id AA16071; Sat, 16 Mar 91 00:07:51 EST Received: by life.ai.mit.edu (4.1/AI-4.10) id AA21343; Fri, 15 Mar 91 23:36:50 EST Return-Path: Received: from Sun.COM by life.ai.mit.edu (4.1/AI-4.10) id AA21336; Fri, 15 Mar 91 23:36:34 EST Received: from Eng.Sun.COM (zigzag-bb.Corp.Sun.COM) by Sun.COM (4.1/SMI-4.1) id AA13475; Fri, 15 Mar 91 20:36:17 PST Received: from teacake.Eng.Sun.COM by Eng.Sun.COM (4.1/SMI-4.1) id AA20548; Fri, 15 Mar 91 20:45:16 PST Received: by teacake.Eng.Sun.COM (4.1/SMI-4.1) id AA05661; Fri, 15 Mar 91 20:39:53 PST Date: Fri, 15 Mar 91 20:39:53 PST From: tiemann@eng.sun.com (Michael Tiemann) Message-Id: <9103160439.AA05661@teacake.Eng.Sun.COM> To: uniwa!swanee!zeus!robert@munnari.oz.au Cc: help-g++@prep.ai.mit.edu In-Reply-To: (Roberto Togneri's message of 15 Mar 91 05:44:09 GMT Subject: g++-1.39 on SunOS 4.1.1 -- problem linking Reply-To: tiemann@cygnus.com Organization: Cygnus Support (+1 415 322 3811) Date: 15 Mar 91 05:44:09 GMT From: uniwa!swanee!zeus!robert@munnari.oz.au (Roberto Togneri) Organization: Elec Eng, Univ of Western Australia Sender: help-g++-request@prep.ai.mit.edu Hi, I'v seen plenty of queries on getting g++ to work and here's mine: Machine: Sparcstation 2 OS: SunOS 4.1.1 GNU installed: bison-1.14 gcc-1.39 - I followed the steps outlined in the g++-1.39.0 sources and managed to get g++ installed with no errors. - I created the libg++.a library from the libg++-1.39.0 sources (with some warnings). But when I came to make the tests g++ bombed out when creating the binary with: ld: Undefined Symbol: ___CTOR_LIST__ ___DTOR_LIST__ Is this something to do with the crt0 library mentioned in the g++ README? What am I missing? You did not install ld++ as gcc-ld. Michael