delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/14/20:09:39

From: ANTHONY APPLEYARD <A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk>
To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
Date: Wed, 14 Dec 1994 16:54:43 GMT
Subject: Which of my Gnu C programs calls which library?

I have about 50 or 100 Gnu C programs. Remembering which ones need which
libraries to load, every time I recompile one, to type the correct -l
arguments after the gcc, becomes quite a load on the memory. When will there
be a precompiler directive, e.g.

    #needslib m
    #needslib grx

so that the program source tells the precompiler tells gcc tells the linker
which libraries to load?, and thus the programmer would have one less thing to
remember per program.

- Raw text -


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