Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@leemgs
Copy link

@leemgs leemgs commented Mar 12, 2016

Let's add a document how to do cross build of corefx for ARM[64]

Signed-off-by: Geunsik Lim [email protected]

@leemgs
Copy link
Author

leemgs commented Mar 12, 2016

/cc @jkotas, @benpye , @stephentoub
This patch is based on the previous PR #6585

==================================

Through cross compilation, on Linux it is possible to build CoreFX for arm or arm64.
It is almost similiar to the cross compilation procedure of CoreCLR.
Copy link
Member

Choose a reason for hiding this comment

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

Nit: almost similar => very similar

Copy link
Author

Choose a reason for hiding this comment

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

@stephentoub, Fixed. Thanks.

@stephentoub
Copy link
Member

This is very nice. Thanks for adding it. LGTM.

@benpye
Copy link

benpye commented Mar 12, 2016

Is it correct to say that the managed binaries are OS and arch specific? OS
for Linux will be correct currently, but it is definitely different for
Windows and FreeBSD. I believe it's arch independent but would be worth
making sure, I don't think there is anything reliant on register length.

On Sat, 12 Mar 2016, 11:46 Stephen Toub, [email protected] wrote:

This is very nice. Thanks for adding it. LGTM.


Reply to this email directly or view it on GitHub
#6845 (comment).

@stephentoub
Copy link
Member

Is it correct to say that the managed binaries are OS and arch specific?

They are architecture-independent (part of the reason we have the native shims).

Many of the managed binaries are OS-independent, e.g. System.Linq.dll. Some are OS-specific, e.g. System.IO.FileSystem.dll, with different builds for Windows vs Unix. A few have different builds for different Unix flavors as well, e.g. System.Diagnostics.Process.dll has a different build for Linux vs OS X.

@leemgs
Copy link
Author

leemgs commented Mar 12, 2016

@benpye, @stephentoub, 👍 Updated wrong explanation.

stephentoub added a commit that referenced this pull request Mar 12, 2016
Documentation: cross build of corefx for arm
@stephentoub stephentoub merged commit 1dc0361 into dotnet:master Mar 12, 2016
@karelz karelz modified the milestone: 1.0.0-rtm Dec 3, 2016
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…ation

Documentation: cross build of corefx for arm

Commit migrated from dotnet/corefx@1dc0361
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.

5 participants