Xref: utzoo gnu.g++:750 comp.sys.dec:2896 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!ogicse!decwrl!shelby!neon!neon.Stanford.EDU!ham From: ham@Neon.Stanford.EDU (Peter R. Ham) Newsgroups: gnu.g++,comp.sys.dec Subject: Re: Need help installing g++-1.37.0 on a Decstation 2100. Message-ID: Date: 28 Mar 90 05:01:18 GMT References: <752@duteca.UUCP> <753@duteca.UUCP> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Stanford University Lines: 15 In-Reply-To: robert@duteca8.uucp's message of 27 Mar 90 12:14:03 GMT Be careful. My GUESS is that you were right in the first place. This is what I think happened: You failed to define NO_UNDERSCORES (not your fault, since nowhere does any documentation tell you to do this), then collect didn't recognize the symbol names of static constructors and destructors. Thus no static constructors were called before your main program. Streams in particular depends on the stdio and stdout static objects which require static constructors. Since these constructors were never called, use of the unitialized static objects failed. This is what happened to me on time. So, if you use a mips based machine, please define NO_UNDERSCORES. -- Peter Ham PO Box 3430 (h)(415) 322-4390 MS Computer Science Student Stanford, CA ham@cs.stanford.edu Stanford University 94309 (o)(415) 723-2067