Mail Archives: djgpp/1997/01/09/06:43:11
On Wed, 8 Jan 1997, John M. Aldrich wrote:
> This translates into [lib]alleg[.a]. The reason this is done is to
> force all library names to be standardized. If they were not, you could
> call your library schmo.jnk, and your friend could call his 55ck858.44c,
> and nobody would have the slightest idea what they were. But because of
> the forced naming convention, all libraries have standard names (libc.a,
> libgcc.a, liballeg.a, libsword.a), or they can't be easily linked.
Actually, I think that the reason behind the -lxy -> libxy.a rule is the
simplistic method of parsing command line in early Unix linkers. So they
invented an argument which looked like a switch but actually was a
reference to a filename.
- Raw text -