www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/05/10:38:29

Message-ID: <327F5A3D.1F37@pobox.oleane.com>
Date: Tue, 05 Nov 1996 16:16:13 +0100
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: ilya AT spy DOT isp DOT nsc DOT ru
CC: djgpp AT delorie DOT com
Subject: Re: What are this symbols ?
References: <327FBF6C DOT 6D28 AT spy DOT isp DOT nsc DOT ru>

Ilya P. Ryzhenkov wrote:
> 
> Who can tell me what are this symbols and where does they
>  exist :
>         djgpp_first_dtor
>         djgpp_last_dtor
>         end
>  They are the only symbols left unreferenced after using
>  ld -r -o program.o *.o l:\djgpp\lib\crt0.o -lc
> 
>  Also can someone say what modules (*.o in libc.a) are used
>  in program startup sequence ? I know there are crt1* but may be
>  some other ?

These symbols are in the djgpp.lnk script, which the linker use. 
You have to add 
l:\djgpp\lib\djgpp.lnk
to the -o files of your ld script.

BTW, this is covered in the FAQ, section 8.13...

Francois

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019