Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

linux: build musl/libunwind for i686 #79

Merged
merged 3 commits into from
Mar 17, 2016
Merged

linux: build musl/libunwind for i686 #79

merged 3 commits into from
Mar 17, 2016

Conversation

japaric
Copy link
Contributor

@japaric japaric commented Mar 17, 2016

Now we can use the "linux" docker image to build libstd for i686-unknown-linux-musl with the
following command:

configure --disable-rustbuild --musl-root=/musl-i686 --target=i686-unknown-linux-musl && make

r? @alexcrichton

Now we can use the "linux" docker image to build libstd for i686-unknown-linux-musl with the
following command:

configure --disable-rustbuild --musl-root=/musl-i686 --target=i686-unknown-linux-musl && make
@@ -7,9 +7,15 @@ export CFLAGS=-fPIC
# Support building MUSL
curl http://www.musl-libc.org/releases/musl-1.1.11.tar.gz | tar xzf -
cd musl-1.1.11
# for x86_64
./configure --prefix=/musl --disable-shared
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change this to install to /musl-x86_64?

@alexcrichton
Copy link
Contributor

Nice! I think we may want to change this at some point so you can configure the i686 and x86_64 musl target at the same time, but right now they both try to use musl-gcc which fails. Something we can fix later though!

@japaric
Copy link
Contributor Author

japaric commented Mar 17, 2016

Could you change this to install to /musl-x86_64?

Done. Don't forget to update the --musl-root flag on the rustbuild side!

@alexcrichton
Copy link
Contributor

pffffft thinking we don't test changes before we merge them

I will indeed attempt to remember :)

alexcrichton added a commit that referenced this pull request Mar 17, 2016
linux: build musl/libunwind for i686
@alexcrichton alexcrichton merged commit f44fb42 into rust-lang-deprecated:master Mar 17, 2016
@japaric japaric deleted the musl branch March 17, 2016 21:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants