From owner-freebsd-mips@freebsd.org Sat Apr 17 16:43:03 2021 Return-Path: Delivered-To: freebsd-mips@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74E2A5DC548 for ; Sat, 17 Apr 2021 16:43:03 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FMzQv2rbBz4rpd; Sat, 17 Apr 2021 16:43:03 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: lwhsu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 54C76AEF8; Sat, 17 Apr 2021 16:43:03 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by mail-yb1-f179.google.com with SMTP id v3so31310612ybi.1; Sat, 17 Apr 2021 09:43:03 -0700 (PDT) X-Gm-Message-State: AOAM532MMCOoaOD5tep98dUJql+m0AMZ7CQLz+Zntp4+j40IjL+jm1Vw GK7KV+8kYXPc9XXNq+a7/ap2yCSNTAVCLkhvJ44= X-Google-Smtp-Source: ABdhPJzctZ2S/OZYjJoSwXhOvrzz0kaNFjNqFR1kjVkKThDIpmyyjEnXL0Wfb/3JL12rxDTQrCpahlyURjTgm32K99s= X-Received: by 2002:a25:2d4:: with SMTP id 203mr6309890ybc.241.1618677782852; Sat, 17 Apr 2021 09:43:02 -0700 (PDT) MIME-Version: 1.0 References: <734001164.73369.1618472700717.JavaMail.yahoo.ref@mail.yahoo.co.jp> <734001164.73369.1618472700717.JavaMail.yahoo@mail.yahoo.co.jp> <780469868.149955.1618569428569.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <780469868.149955.1618569428569.JavaMail.yahoo@mail.yahoo.co.jp> From: Li-Wen Hsu Date: Sun, 18 Apr 2021 00:42:51 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: mips-gcc492 for bare metal enviroment To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" , John Baldwin Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2021 16:43:03 -0000 On Fri, Apr 16, 2021 at 6:37 PM Mori Hiroki wrote: > > Hi > > Why FreeBSD has two mips gcc6 pkg ? I think one is gcc4 is better. > > mips-gcc-6.4.0_8 Cross GNU Compiler Collection for mips This is from devel/mips-gcc which is the old style xtoolchain, which I guess will be deprecated. > mips-gcc6-6.5.0_2 Cross GNU Compiler Collection for mips > mips-gcc9-9.2.0_1 Cross GNU Compiler Collection for mips Those two are mips flavor of devel/freebsd-gcc6 and devel/freebsd-gcc9, are the recommended one to use. Best, Li-Wen