Mail Archives: djgpp/1996/01/16/03:18:25
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 -