delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/09/21:53:45

Sender: nate AT cartsys DOT com
Message-ID: <361EBCE6.7D7E82C3@cartsys.com>
Date: Fri, 09 Oct 1998 18:48:22 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: "Thiago F.G. Albuquerque" <thiagofga AT ambr DOT com DOT br>
CC: djgpp AT delorie DOT com
Subject: Re: Alien libraries
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980930235714 DOT 007b9370 AT 200 DOT 252 DOT 238 DOT 1>
Reply-To: djgpp AT delorie DOT com

Thiago F.G. Albuquerque wrote:
> 
> My lib directory is full of libraries I never used and don't know what are
> for:

You're using most of them, you just don't know it.
 
> C:\DJGPP\lib\djgpp.djl

Linker script which gives the linker some special instructions.

> C:\DJGPP\lib\dxe.ld

Not sure offhand (my version of GCC doesn't include it) but probably
contains instructions to the linker about DXE files.

> C:\DJGPP\lib\gcrt0.o

Contains the startup code used when profiling.

> C:\DJGPP\lib\libdbg.a

Some routines used by the DJGPP debuggers.

> C:\DJGPP\lib\libemu.a

Software math emulation; you can link this with your program and it will
be able to run on machines without FPUs.

> C:\DJGPP\lib\libg.a

A library with nothing in it, which prevents programs which try to link
it (it's traditionally a debugging library) from failing.

> C:\DJGPP\lib\libgpp.a

C++ classes written by GNU.  Now deprecated.

> C:\DJGPP\lib\libm.a

Math functions.  libc contains some, but these handle errors more
gracefully, are sometimes more accurate, and include some more advanced
functions.

> C:\DJGPP\lib\libpc.a

Another empty library for compatibility.

> C:\DJGPP\lib\crt0.o

The startup code linked with programs when not profiling.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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