delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/25/13:05:36

Date: Fri, 25 Jul 1997 10:05:04 -0700 (PDT)
Message-Id: <199707251705.KAA26965@adit.ap.net>
Mime-Version: 1.0
To: Christopher Croughton <crough45 AT amc DOT de>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: sizeof() in #if
Cc: djgpp AT delorie DOT com

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 -


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