🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #508

Incremental linking using g++ 1.36.1

#508
From: Shamim Ahmed
Date: Mon, 26 Feb 1990 04:53
22 lines
1263 bytes
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
Technical Details
Message-ID: <1990Feb26.045320.5270@athena.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bloom-beacon!athena.mit.edu!ahmed

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bloom-beacon!athena.mit.edu!ahmed
From: ahmed@athena.mit.edu (Shamim Ahmed)
Newsgroups: gnu.g++,comp.lang.c++
Subject: Incremental linking using g++ 1.36.1
Keywords: incremental linking
Message-ID: <1990Feb26.045320.5270@athena.mit.edu>
Date: 26 Feb 90 04:53:20 GMT
Sender: news@athena.mit.edu (News system)
Reply-To: ahmed@athena.mit.edu (Shamim Ahmed)
Organization: Massachusetts Institute of Technology
Lines: 22