Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!texbell!bigtex!dell!raid.dell.com!james
From: james@raid.dell.com (James Van Artsdalen)
Newsgroups: gnu.utils.bug
Subject: Re: robotussin problem?
Message-ID: <2692@dell.dell.com>
Date: 13 Aug 89 23:43:07 GMT
References: <8908120056.AA03499@kovic.IRO.UMontreal.CA>
Sender: news@dell.dell.com
Reply-To: james@raid.dell.com (James Van Artsdalen)
Distribution: gnu
Organization: Institute for Applied Cosmology
Lines: 13

In <8908120056.AA03499@kovic.IRO.UMontreal.CA>, mcgill-vision!IROS1!pinard@EDDIE.MIT.EDU (Francois Pinard) wrote:

> I presume that crt0.o, crt1.o and crtn.o are related to initializing
> and/or terminating a C program.  What are their exact purpose?

Under SysVr3, crt0.o can be used by itself when there are no shared
libraries.  When shared libraries are used, crt1.o must be the first
object linked and crtn.o the last (after all libraries).  Since GNU ld
doesn't know about SysV shared libraries, you can just use crt0.o and
ignore crt[1n].o (and not use shared libraries).
-- 
James R. Van Artsdalen          james@raid.dell.com       "Live Free or Die"
DCC Corporation       9505 Arboretum Blvd Austin TX 78759       512-338-8789