|
From: | Paolo Bonzini |
Subject: | Re: AC_PROG_CC fails when target C library is missing fopen |
Date: | Wed, 19 Aug 2009 08:59:44 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 |
On 08/07/2009 04:52 PM, Paolo Bonzini wrote:
On 08/07/2009 01:51 PM, Paolo Bonzini wrote:On 08/07/2009 01:27 PM, Adam Sampson wrote:On Fri, Aug 07, 2009 at 12:58:13PM +0200, Paolo Bonzini wrote:Can you suggest a replacement? Would atoi be okay?atoi certainly exists in avr-libc, so that'd be OK for me. (Doesn't it use fopen because it wants to see if the file exists afterwards, though?)Yes, I was thinking of "return atoi(argv[1]);" and check the exit status.Alternatively, can you try this patch?
Ping? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |