From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11973 Path: news.gmane.org!.POSTED!not-for-mail From: Didier Kryn Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl-cross-make doesn't install gcc binaries Date: Tue, 3 Oct 2017 14:55:08 +0200 Message-ID: References: <626996737.38853.1506938734029@office.mailbox.org> <20171002105033.GK15263@port70.net> <971780b8-2021-a1f2-b6a8-f8765de055d9@in2p3.fr> <20171002155744.GC1627@brightrain.aerifal.cx> <8b45f2fb-a4fa-eb07-7afe-1ffdbe78056b@in2p3.fr> <20171003093730.GL15263@port70.net> <718adcbe-322a-22cf-1459-81ec78e677d4@in2p3.fr> <20171003105951.GM15263@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: quoted-printable X-Trace: blaine.gmane.org 1507035344 9235 195.159.176.226 (3 Oct 2017 12:55:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Oct 2017 12:55:44 +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-11986-gllmg-musl=m.gmane.org@lists.openwall.com Tue Oct 03 14:55:31 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 1dzMjL-0000uG-HU for gllmg-musl@m.gmane.org; Tue, 03 Oct 2017 14:55:23 +0200 Original-Received: (qmail 19921 invoked by uid 550); 3 Oct 2017 12:55:24 -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 19798 invoked from network); 3 Oct 2017 12:55:21 -0000 X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99.2 at cczrelay02 In-Reply-To: <20171003105951.GM15263@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:11973 Archived-At: Le 03/10/2017 =C3=A0 12:59, Szabolcs Nagy a =C3=A9crit : > * Didier Kryn [2017-10-03 12:38:49 +0200]: >> Le 03/10/2017 =C3=A0 11:37, Szabolcs Nagy a =C3=A9crit : >>> it's a cross compiler, so you won't have gcc, but x86_64-linux-musl-g= cc >> But it isn't installed and, BTW, the installed binutils executabl= es >> aren't prefixed with x86_64-linux-musl- >> >> When I remove the line 'OUTPUT =3D /usr/pkg' in config.mak, to l= eave it >> use the default, then the installation occurs in subdir 'output' of th= e >> source tree, and it seems much more familiar to me, with more subdirs,= such >> as libexec, share and x86_64-linux-musl, which are not present otherwi= se. >> And all the executables are correctly prefixed. >> >> Therefore the problem is restricted to the processing of the cust= om >> install dir. Given the cross-compiler is sysrooted, this isn't a big d= eal, >> but better to know. >> > i use custom OUTPUT dir and never had a problem > > (although i pass it as a make argument like > > make install TARGET=3Dx86_64-linux-musl OUTPUT=3D/path > > and then i have > /usr/bin/install -c xgcc /path/bin/x86_64-linux-musl-gcc > in my build log) OK, got it. I understood the install path as an install *prefix*. I = should have specified 'OUTPUT=3D/usr/pkg/x86_64-linux-musl' instead of 'OUTPUT=3D/usr/pkg' And I didn't notice it created bin, include, lib, libexec and share = and, since it also created x86_64-linux-musl, which has the name I=20 expected and also contains bin, include and lib, I concentrated on this = one which wasn't as expected. Maybe worth mentionning the path is the base of the sysroot, not a=20 prefix. There must be other idiots like me. Thanks for your patience. Didier Now it works. Thanks for your patience