From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42542) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTKlF-0003NA-0s for guix-patches@gnu.org; Tue, 28 Apr 2020 03:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTKXC-0006Jl-O1 for guix-patches@gnu.org; Tue, 28 Apr 2020 03:24:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTKXC-0006Jf-Ay for guix-patches@gnu.org; Tue, 28 Apr 2020 03:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTKXC-00063p-6V for guix-patches@gnu.org; Tue, 28 Apr 2020 03:20:02 -0400 Subject: [bug#40677] [PATCH 04/18] gnu: Add libnatpmp. Resent-Message-ID: From: Mathieu Othacehe References: <20200421161032.1847-1-tona_kosmicznego_smiecia@interia.pl> <20200421161032.1847-4-tona_kosmicznego_smiecia@interia.pl> <87blnjq392.fsf@gmail.com> <20200428005500.7114c2b1@kompiuter> Date: Tue, 28 Apr 2020 09:19:01 +0200 In-Reply-To: <20200428005500.7114c2b1@kompiuter> (Jan's message of "Tue, 28 Apr 2020 00:55:00 +0200") Message-ID: <87zhawulga.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Jan Cc: 40677@debbugs.gnu.org Hello, >> --8<---------------cut here---------------start------------->8--- >> guix build --target=aarch64-linux-gnu libnatpmp >> --8<---------------cut here---------------end--------------->8--- > > It was built successfully, it works then I guess. > > >> to check it. Then, you probably need to do something similar as what >> is done in package "iw" (set CC variable at least). > Where can I read about this CC thing more? Is it needed when > cross-compilation works? The build may succeed but if the native GCC compiler was picked, then it's a native build and not a cross-build. You can run the following command: --8<---------------cut here---------------start------------->8--- file the-binary-or-library --8<---------------cut here---------------end--------------->8--- and see what it reports. You can also have a look to maradns package for an example of how to deal with CC variable. Don't hesitate if you have further questions, Mathieu