mailing list of musl libc
 help / color / mirror / code / Atom feed
* How to use MUSL without installing it?
@ 2018-09-03 20:24 John Found
  2018-09-04  9:40 ` Szabolcs Nagy
  0 siblings, 1 reply; 11+ messages in thread
From: John Found @ 2018-09-03 20:24 UTC (permalink / raw)
  To: musl

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 <johnfound@asm32.info>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-09-04 14:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 20:24 How to use MUSL without installing it? John Found
2018-09-04  9:40 ` Szabolcs Nagy
2018-09-04 11:34   ` John Found
2018-09-04 11:58     ` Szabolcs Nagy
2018-09-04 12:20       ` John Found
2018-09-04 12:27         ` Rich Felker
2018-09-04 12:39           ` John Found
2018-09-04 14:30             ` Rich Felker
2018-09-04 13:00           ` Jon Chesterfield
2018-09-04 14:38             ` Rich Felker
2018-09-04 13:27       ` John Found

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).