From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLACK autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5467 invoked from network); 30 Oct 2020 18:20:31 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 30 Oct 2020 18:20:31 -0000 Received: (qmail 26016 invoked by uid 550); 30 Oct 2020 18:20:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 25995 invoked from network); 30 Oct 2020 18:20:27 -0000 Date: Fri, 30 Oct 2020 14:20:16 -0400 From: Rich Felker To: sotrdg sotrdg Cc: "musl@lists.openwall.com" Message-ID: <20201030182015.GC534@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] How to build crt? On Fri, Oct 30, 2020 at 05:58:42PM +0000, sotrdg sotrdg wrote: > In glibc, it is done by > make csu/subdir_lib > > How CRT is built on musl before I could build libgcc? Can you expand on what you're trying to do? You can't build a shared libgcc_s.so or other shared gcc target libs until you have libc.so built, but libgcc.a (being a static/archive library) is not linked, just an archive of compiled files, and thus can be built just fine without having built anything from libc. Rich