From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11736 invoked by alias); 29 Mar 2011 07:46:59 -0000 Received: (qmail 11723 invoked by uid 22791); 29 Mar 2011 07:46:58 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.154) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Mar 2011 07:46:54 +0000 Received: from md2.u-strasbg.fr (md2.u-strasbg.fr [130.79.200.187]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id p2T7kpOR098109 for ; Tue, 29 Mar 2011 09:46:52 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms5.u-strasbg.fr [130.79.204.14]) by md2.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id p2T7ammD008824 for ; Tue, 29 Mar 2011 09:36:48 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id p2T7aljN048317 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 29 Mar 2011 09:36:48 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: Subject: [RFC] Missing sleep function for mingw hosts Date: Tue, 29 Mar 2011 08:11:00 -0000 Message-ID: <004701cbede4$0ee18c20$2ca4a460$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg01160.txt.bz2 mingw does not have a sleep function in its library. This prevents currently successful compilation of mingw64 with --enable-targets=all option. I found that there is a substitute for sleep in gnulib: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/sleep.c;hb=d60 f3b0c6b0f93a601acd1cfd3923f94ca05abb0 What is the rule to add new parts into gnulib subdirectory? Would inclusion of gnulib sleep.c source code be possible to fix the above problem? Pierre