mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: musl-cross-make doesn't install gcc binaries
Date: Mon, 2 Oct 2017 11:57:44 -0400	[thread overview]
Message-ID: <20171002155744.GC1627@brightrain.aerifal.cx> (raw)
In-Reply-To: <971780b8-2021-a1f2-b6a8-f8765de055d9@in2p3.fr>

On Mon, Oct 02, 2017 at 04:57:16PM +0200, Didier Kryn wrote:
>     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?

What "make install" command line did you use, and what options (if
any) in config.mak? You need to specify the output directory where the
toolchain will be installed; it would not appear under /usr/pkg unless
you configured it as such.

Rich


  reply	other threads:[~2017-10-02 15:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 10:05 C++ program with no dependencies except musl Paul Kaletta
2017-10-02 10:50 ` Szabolcs Nagy
2017-10-02 14:57   ` musl-cross-make doesn't install gcc binaries Didier Kryn
2017-10-02 15:57     ` Rich Felker [this message]
2017-10-03  8:11       ` Didier Kryn
2017-10-03  8:18         ` Didier Kryn
2017-10-03  9:37           ` Szabolcs Nagy
2017-10-03 10:38             ` Didier Kryn
2017-10-03 10:59               ` Szabolcs Nagy
2017-10-03 12:55                 ` Didier Kryn
2017-10-04 10:35                   ` Szabolcs Nagy
2017-10-04 19:27                     ` Didier Kryn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171002155744.GC1627@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).