From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: i686-linux GCC package on x86_64 Date: Fri, 11 Oct 2019 10:12:38 +0200 Message-ID: <87wodbd7k9.fsf@gmail.com> References: <87d0fs2q0p.fsf@ambrevar.xyz> <87d0featrl.fsf@ambrevar.xyz> <87h84p3trz.fsf@gmail.com> <877e5lnd81.fsf@ambrevar.xyz> <87r23s1qy1.fsf@gmail.com> <874l0gafm1.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41063) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIq2a-0001H7-R9 for guix-devel@gnu.org; Fri, 11 Oct 2019 04:12:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIq2Z-0004hv-N9 for guix-devel@gnu.org; Fri, 11 Oct 2019 04:12:48 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:39180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIq2Z-0004hX-EH for guix-devel@gnu.org; Fri, 11 Oct 2019 04:12:47 -0400 Received: by mail-wm1-x336.google.com with SMTP id v17so9235150wml.4 for ; Fri, 11 Oct 2019 01:12:47 -0700 (PDT) In-reply-to: <874l0gafm1.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org > This works but cross-gcc only delivers GCC and the libc. > The "lib" output of the regular GCC is missing. > > In particular, I'd need libstdc++.so. Then, that should be fine: --8<---------------cut here---------------start------------->8--- (native-inputs `(,@(if (not (string-prefix? "i686" (%current-system))) `(("cross-gcc" ,(cross-gcc "i686-unknown-linux-gnu" #:libc (cross-libc "i686-unknown-linux-gnu"))) ("cross-binutils" ,(cross-binutils "i686-unknown-linux-gnu"))) '()))) --8<---------------cut here---------------end--------------->8--- By default the #:libc field of cross-gcc is #f which seems to be the issue for you. Mathieu