Xref: utzoo comp.lang.c++:9505 gnu.g++:1105 gnu.g++.bug:2244 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!kodak!atexnet!vbhatt From: vbhatt@dude.epps.kodak.com (Vijay Bhatt) Newsgroups: comp.lang.c++,gnu.g++,gnu.g++.bug Subject: Help building gnu g++ for sun 3 os 4.1 Message-ID: <5035@atexnet.UUCP> Date: 11 Sep 90 15:21:20 GMT Sender: news@atexnet.UUCP Organization: EPPS (A Kodak Company), Billerica, MA Lines: 30 I have a working version (1.37.1 )of gnu gcc installed using gas, and had also managed to compile and install version 1.37.0 of gnu g++. When trying to compile a small program with g++, it responds with example.o: Undefined symbol ___main referenced from text segment (basically it seems that the loader cannot get to main). In any case, after Installing g++ I build libg++ version 1.37. It built without any compilation problems. When running the test0 manually or any of the other tests in libg++/tests, the system responds with segmentation fault. Incidently I am using sun3-os4 and I have the latest verisons of GAS and BISON istalled. Could someone please help me on overcoming the segmentation fault. ps: I made the gnu gcc with the system ld and g++ had its own ld.c. Also my cc1plus seems to be ok since there were no compilation errors, due to it. I have tried some previously posted suggestions but they don,t seem to work for me. Thanks Vijay. vbhatt@epps.kodak.com