[gnu.g++.help] g++-1.39 on SunOS 4.1.1 -- problem linking

tiemann@eng.sun.com (Michael Tiemann) (03/16/91)

   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