Date: Fri, 25 Jul 1997 10:05:04 -0700 (PDT) Message-Id: <199707251705.KAA26965@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Christopher Croughton From: Nate Eldredge Subject: Re: sizeof() in #if Cc: djgpp AT delorie DOT com Precedence: bulk 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 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