Mail Archives: djgpp/1997/07/25/13:05:36
At 05:34 7/24/1997 +0100, you wrote:
>Now, how do I in a portable way test for which C compiler might be available?
>I can do it easily in 4DOS, but COMMAND.COM compatibility is a lot harder...
Well, there's always the method of <gasp> asking the user! My approach would
be to define $(CC) = gcc at the top of the makefile, and let the user change
it if they want.
The better question is, what compiler besides GCC would be available that
would work?
Nate Eldredge
eldredge AT ap DOT net
- Raw text -