www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/28/19:19:18

Date: Sun, 28 Sep 1997 19:17:12 -0400 (EDT)
Message-Id: <199709282317.TAA23380@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eldredge AT ap DOT net
CC: djgpp AT delorie DOT com
In-reply-to: <199709282203.PAA14919@adit.ap.net> (message from Nate Eldredge
on Sun, 28 Sep 1997 15:03:50 -0700 (PDT))
Subject: Re: What is libg.a for?

> I notice that the lib directory contains a file called libg.a. On Unix a
> file by this name is the debugging version of the C library. But in DJGPP,
> the file is only ~500 bytes, and `nm' says it defines only the symbol
> `________libg' (or some such), as well as the usual `text', `data', `bss',
> etc. What is this file used for?

The standard gcc includes a number of features that are "standard" for
unix compilers.  I don't remember exactly which are which, but one of
the command line options makes gcc link in libg.c before libc.a, so I
provide an empty one to keep it from complaining.  The one symbol is
there because libraries don't like being empty.

- Raw text -


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