ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/21/07:16:10

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sun, 21 Apr 2002 13:15:18 +0100
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: The Bat! (v1.60c) UNREG / CD5BF9353B3B7091
X-Priority: 3 (Normal)
Message-ID: <169217484.20020421131518@softhome.net>
To: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
CC: bug-autoconf AT gnu DOT org, djgpp AT delorie DOT com
Subject: Re[2]: AC_PROG_CXX does not work correctly after AC_PROG_CC
In-Reply-To: <000101c1e870$bd7d2100$9b5f77d5@zastaixp>
References: <000101c1e870$bd7d2100$9b5f77d5 AT zastaixp>
MIME-Version: 1.0
X-OriginalArrivalTime: 21 Apr 2002 11:12:43.0028 (UTC) FILETIME=[75124D40:01C1E925]
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

TVH> Now as a side-effect, the first compiler check (PROG_CC or PROG_CXX)
TVH> will also try to determine the executable extension using that compiler.
TVH> It is that test that bombs out if you only use PROG_CXX (or use it
TVH> first)
TVH> on a system without a C++ compiler.
TVH> The other effects are as documented: it defaults to g++ if nothing is
TVH> found.

OK, so this is not a bug, but IMHO a misfeature - isn't the whole point
of using AC_PROG_CXX to get a _working_ compiler?  Is there any
explanation for current behaviour?


- Raw text -

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