www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/28/14:07:12

From: "Laurynas Biveinis" <lauras AT softhome DOT net>
Date: Thu, 28 Jun 2001 18:45:44 +0200
To: djgpp-workers AT delorie DOT com
Subject: Re: bash 2.04 build failure?
Message-ID: <20010628184544.B205@lauras.lt>
Mail-Followup-To: djgpp-workers AT delorie DOT com
References: <3395-Wed20Jun2001200621+0300-eliz AT is DOT elta DOT co DOT il> <3B3890D8 DOT 12023 DOT 1A6E91 AT localhost>
Mime-Version: 1.0
In-Reply-To: <3B3890D8.12023.1A6E91@localhost>
User-Agent: Mutt/1.3.18i
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Another failure, boiled down from autoconf test. This bug made
configure script to report yes for cross-compiling, while it isn't.

Consider you have hello.exe in current dir and this script:

#!/bin/sh
if (./hello; exit) ; then
   ac_cv_prog_cc_cross=no
else
   ac_cv_prog_cc_cross=yes
fi
echo '$ac_cv_prog_cc_cross = ' $ac_cv_prog_cc_cross

Its output:
Hello, world!
$ac_cv_prog_cc_cross = yes

Hello.exe returns with exit code 0.

Laurynas

- Raw text -


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