From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13172 Path: news.gmane.org!.POSTED!not-for-mail From: John Found Newsgroups: gmane.linux.lib.musl.general Subject: How to use MUSL without installing it? Date: Mon, 3 Sep 2018 23:24:41 +0300 Message-ID: <20180903232441.0c0e1e868bac54e3b9b31226@asm32.info> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1536006241 24789 195.159.176.226 (3 Sep 2018 20:24:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2018 20:24:01 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-13188-gllmg-musl=m.gmane.org@lists.openwall.com Mon Sep 03 22:23:57 2018 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 1fwvO7-0006CJ-QU for gllmg-musl@m.gmane.org; Mon, 03 Sep 2018 22:23:55 +0200 Original-Received: (qmail 28505 invoked by uid 550); 3 Sep 2018 20:26:02 -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 28468 invoked from network); 3 Sep 2018 20:26:01 -0000 X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:13172 Archived-At: I am writing a script that to compile musl, then a program with musl, using the latest versions. I am doing it following way: mkdir muslsrc tar --wildcards --strip-components 1 -C ./muslsrc/ -xzf ./musl*.tar.gz cd muslsrc ln -s /usr/bin/ar ./i386-ar ln -s /usr/bin/ranlib ./i386-ranlib ./configure --prefix=../musl --host=i386 CC="gcc -m32 -O3" make make install cd .. Then I am compiling agains ./musl/ directory. But after "make" I have all needed files in ./muslsrc/ directory. Is it possible to use them directly instead of making fake "installation"? -- John Found