From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11965 Path: news.gmane.org!.POSTED!not-for-mail From: Didier Kryn Newsgroups: gmane.linux.lib.musl.general Subject: musl-cross-make doesn't install gcc binaries Date: Mon, 2 Oct 2017 16:57:16 +0200 Message-ID: <971780b8-2021-a1f2-b6a8-f8765de055d9@in2p3.fr> References: <626996737.38853.1506938734029@office.mailbox.org> <20171002105033.GK15263@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1506956252 31716 195.159.176.226 (2 Oct 2017 14:57:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Oct 2017 14:57:32 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 To: musl@lists.openwall.com Original-X-From: musl-return-11978-gllmg-musl=m.gmane.org@lists.openwall.com Mon Oct 02 16:57:28 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dz29s-0007c4-1E for gllmg-musl@m.gmane.org; Mon, 02 Oct 2017 16:57:24 +0200 Original-Received: (qmail 17936 invoked by uid 550); 2 Oct 2017 14:57:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17898 invoked from network); 2 Oct 2017 14:57:28 -0000 X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99.2 at cczrelay02 In-Reply-To: <20171002105033.GK15263@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:11965 Archived-At: Hello musl fans. Since this is my first message to this list, let me introduce myself. I'm a retired physicist and Linux hobyist. In 2014, I started to build a gcc-musl toolchain to run on Debian Wheezy. It took me about two years of try-and-fail learning because I had the ambition that my gcc understands C, C++ *and* Ada. I started from a combination of tools from Sabotage-Linux and Debian and finaly was able to build a gcc-4.7 toolchain statically linked against musl-1.1.5. I have now created a full-featured development platform based on that toolchain, in a chroot. This platform can re-build itself from sources and most applications are static binaries. I have recently discovered the existence of musl-cross-make and thought it would be a great way to upgrade my toolchain (forgetting temporarily Ada). I downloaded it in my musl chroot. It built without error, which is a pretty new experience for me - congratulations! But, after make install, only binutils' binaries are installed: /# ls /usr/pkg/x86_64-linux-musl bin include lib /# ls /usr/pkg/x86_64-linux-musl/bin ar as ld ld.bfd nm objcopy objdump ranlib readelf strip The gcc binaries seem to be in musl-cross-make/build/local/x86_64-linux-musl/obj_toolchain/gcc (cc1, cc1plus, gcc-ar, gcc-cross etc). Are these the final gcc binaries or intermediate tools? Thanks. Didier