From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id v8wiLM/qW2JbTAAAWB0awg (envelope-from ) for ; Sun, 17 Apr 2022 06:24:15 -0400 Received: by simark.ca (Postfix, from userid 112) id A4C741F327; Sun, 17 Apr 2022 06:24:15 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 1D7C41E787 for ; Sun, 17 Apr 2022 06:24:15 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 56A0A385735C for ; Sun, 17 Apr 2022 10:24:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56A0A385735C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1650191054; bh=edB2Ol/fUidvs9QdqNnyZXsmycCgcHyWxIyc8pP5aJw=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=YXc07EudJqKflE5A/hHWTOyBbSXlZW/Ywh2TLw+2bC9HJVGyKxPSwh8OyjEgQPOO1 HVLlSE1+twGWHTneKpPFxDhfJxxA9gddByP80zjspt8U4VqpQ9my3x9o/VGuHjU+Nz /OcTrSay7X5DO3PpjGq7+THLlyJU7lhg1bRoqbIM= Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id ADBFB3858406 for ; Sun, 17 Apr 2022 10:23:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ADBFB3858406 Received: by mail-ej1-x62e.google.com with SMTP id lc2so22416834ejb.12 for ; Sun, 17 Apr 2022 03:23:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-description:content-disposition:in-reply-to; bh=edB2Ol/fUidvs9QdqNnyZXsmycCgcHyWxIyc8pP5aJw=; b=k5glJZ8dlXgY/Qp/e0HZWEYKB1cSlMyizetU7i4SsOIdAct34qTt5zu+sNIis41BKe AVU0SqW6b6SZtuof0LQWsmnzRBaNT92mXQXspkFTBcL8G8omdqTR7zQu1QhXG22zhGOe 50Wn051t6n/+62gxjF+XojXqVNcwUfLkvLi6i49TpPRakrSwSH+Xse0jBBgYB1WPs5Sx dPKNs3ZsUtneJE6KgQR39XUb4OPAnW6kuYFaNI2sDRLjInHn4WX0ySGo8EVjVNm3thVw JB4XBgLbcV6KiWckp2XbG5E+vcNlGytLsjJvdtHoPVSFtvYHFAY/e3RNAM4bNv/YCfpq xCGw== X-Gm-Message-State: AOAM532qPx2gNQVXotEqrzrxOen4kNE7NQsw+56o3vG4RZyFk7Eylt/x kQtnz+1H2xgPSVf7kYMWN6s= X-Google-Smtp-Source: ABdhPJxhVxJYDKD+dx7lVdANmxk/E2u0y1XPb55eE6XLGbSPR8RoZLbcWDQPQIguzVIcd+QHiUe2lA== X-Received: by 2002:a17:907:9812:b0:6da:aaaf:7713 with SMTP id ji18-20020a170907981200b006daaaaf7713mr5216678ejc.163.1650191025418; Sun, 17 Apr 2022 03:23:45 -0700 (PDT) Received: from gmail.com ([2a03:1b20:3:f011::a01d]) by smtp.gmail.com with ESMTPSA id a1-20020a1709063e8100b006ce06ed8aa7sm3500025ejj.142.2022.04.17.03.23.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 03:23:44 -0700 (PDT) Date: Sun, 17 Apr 2022 12:23:44 +0200 To: Claude Robitaille Subject: Re: Building gdbserver Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: config_gdbserver Content-Disposition: inline In-Reply-To: X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Shahab Vahedi via Gdb Reply-To: Shahab Vahedi Cc: Gdb Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hi Claude, On Sun, Apr 17, 2022 at 03:35:52AM +0000, Claude Robitaille via Gdb wrote: > Hi, I am trying to cross compile gdbserver. > > I am using this little script I did: > > > #!/bin/bash > #source in binutils-gdb > > mkdir gdbserver.build > cd gdbserver.build > > ../binutils-gdb/gdbserver/configure --host=x86_64-w64-mingw32 > make > > > But I get this error at the beginning of make > > Makefile:110: ../gnulib/Makefile.gnulib.inc: No such file or directory > make: *** No rule to make target '../gnulib/Makefile.gnulib.inc'. Stop. > > I did try different with different release but most of them don't even go that far; is gdbserver new in binutils-gdb? Is it supposed to be compilable? You have to use the top level configure. Something along the lines: $ cd gdbserver.build $ ../binutils-gdb/configure --host=x86_64-w64-mingw32 $ make all-gdbserver $ make install-gdbserver DESTDIR= You can find more details in gdbserver's README file [1]. Cheers, Shahab [1] https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdbserver/README;hb=HEAD#l81