Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document static linking with musl #27193

Merged
merged 5 commits into from Jul 24, 2015

Conversation

aidanhs
Copy link
Member

@aidanhs aidanhs commented Jul 21, 2015

Continuation of #25685.

@rust-highfive
Copy link
Collaborator

@rust-highfive rust-highfive commented Jul 21, 2015

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)


# Link args

There is one other way to tell rustc how to customize linking, and that is via
Copy link
Member

@steveklabnik steveklabnik Jul 21, 2015

Choose a reason for hiding this comment

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

rustc should be in graves

@steveklabnik
Copy link
Member

@steveklabnik steveklabnik commented Jul 21, 2015

I have a bunch of nitpicks, but thanks so much for writing this up!

@aidanhs aidanhs force-pushed the aphs-advanced-linking-doc branch from 4068d72 to 844d81a Compare Jul 21, 2015
@aidanhs
Copy link
Member Author

@aidanhs aidanhs commented Jul 21, 2015

Think I got them all.

(e.g. `libc` and `libm`) usually dynamically linked, but it is possible to
change this and statically link them as well.

Linking is a very platform dependant topic — on some platforms, static linking
Copy link
Contributor

@eefriedman eefriedman Jul 21, 2015

Choose a reason for hiding this comment

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

*dependent

@aidanhs aidanhs force-pushed the aphs-advanced-linking-doc branch from 844d81a to 231438a Compare Jul 21, 2015
@alexcrichton
Copy link
Member

@alexcrichton alexcrichton commented Jul 21, 2015

@bors: r+ 231438a rollup

Nice!

steveklabnik added a commit to steveklabnik/rust that referenced this issue Jul 21, 2015
your own version of Rust with `musl` enabled and install it into a custom
directory with the instructions below:

```
Copy link
Contributor

@apasel422 apasel422 Jul 22, 2015

Choose a reason for hiding this comment

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

This code block needs to be annotated so that it isn't compiled as Rust code. CC #27206.

@steveklabnik
Copy link
Member

@steveklabnik steveklabnik commented Jul 22, 2015

@bors: r-

@steveklabnik
Copy link
Member

@steveklabnik steveklabnik commented Jul 22, 2015

minusing this one until we fix the issues, we'll get it in soon!

@aidanhs aidanhs force-pushed the aphs-advanced-linking-doc branch from 231438a to b6a0d9e Compare Jul 22, 2015
@aidanhs
Copy link
Member Author

@aidanhs aidanhs commented Jul 22, 2015

Added 'text' to code blocks.

@steveklabnik
Copy link
Member

@steveklabnik steveklabnik commented Jul 22, 2015

@bors: r+ rollup

@bors
Copy link
Contributor

@bors bors commented Jul 22, 2015

📌 Commit b6a0d9e has been approved by steveklabnik

Manishearth added a commit to Manishearth/rust that referenced this issue Jul 23, 2015
bors added a commit that referenced this issue Jul 23, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this issue Jul 24, 2015
bors added a commit that referenced this issue Jul 24, 2015
@bors bors merged commit b6a0d9e into rust-lang:master Jul 24, 2015
1 check passed
@aidanhs
Copy link
Member Author

@aidanhs aidanhs commented Jul 25, 2015

Hooray! Thanks all for the help with this.

@aidanhs aidanhs deleted the aphs-advanced-linking-doc branch Jul 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants