Mail Archives: djgpp/1994/12/15/02:28:50
> 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.
This information is the sort of thing that a makefile is supposed to keep
track of, and I think you are better off having it in a mkaefile than in the
source. Suppose the names of the libraries changed with a future release
of djgpp. Would you rather make this change in one makefile or 50-100 source
files?
- Raw text -