www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/16/03:18:25

Date: Tue, 16 Jan 1996 10:01:35 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Martynas Kunigelis <algikun AT rf DOT ktu DOT lt>
Cc: djgpp AT delorie DOT com
Subject: Re: -lpc unnecessary in b4?

On Mon, 15 Jan 1996, Martynas Kunigelis wrote:

> 	I'm not sure, but looks, like my code that calls f-ns from 
> conio.h, links ok without -lpc.

There is no need in v2.0 for either -lpc or -lm.  This was one of the 
major causes of confusion among users in v1.x, so DJ decided to kill them 
and put everything into libc.a (which gets searched automatically by the 
linker).  There is a libpc.a file, but it's an empty library, and exists 
for the sake of the Makefiles which mention it explicitly.  The default 
math functions are also in libc.a, but alternative, more well-behaving 
(if sometimes slower) versions of math functions exist in libm.a, so that 
whoever needs those and remembers to use -lm gets rewarded, while naive 
users don't get punished.

Now, isn't this one happy world!

- Raw text -


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