[OpenAFS-devel] librx-djgpp contortions...

Jeffrey Hutzelman jhutz@cmu.edu
Thu, 11 Oct 2001 17:23:06 -0400 (EDT)


On Thu, 11 Oct 2001, Neulinger, Nathan wrote:

> Looks like the librx-djgpp.a stuff in rx/Makefile could probably be
> eliminated relatively easily if we were to compile all the files on all
> platforms, but have the djgpp/NT-only ones have a big #ifdef/#endif block
> around them.

Be careful on this.  Certain vendors' compilers (maybe HPUX?) get confused
and report an error when you hand them a semantically empty compilation
unit.  So, compiling empty source files is bad.  Better to do something
which changes the set of objects that get built and included, so that we
never try to compile any "empty" files.