[gnu.g++] Incremental linking using g++ 1.36.1

ahmed@athena.mit.edu (Shamim Ahmed) (02/26/90)

I notice a problem with the incremental linking feature provided with
g++-1.36.1, which worked well with release 1.35.0. For every piece of code
that I try to link, for example :

#include <Incremental.h>
DECLARE_INIT_FUNCTION (init_1);
#include <stdio.h> 
static void init_1 ()
{
  printf("hello world \n");
}

I get the following link error:

crt1.c:33: Undefined symbol ___DTOR_LIST__ referenced from text segment
crt1.c:34: Undefined symbol ___DTOR_LIST__ referenced from text segment
crt1.c:35: Undefined symbol ___DTOR_LIST__ referenced from text segment
( crt1.c is a file provided with g++)

Could anyone please clarify if I am doing something wrong? I'd appreciate 
e-mail to ahmed@athena.mit.edu. Thanks....Shamim