Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
doc: add crosscompile_with_multiarch #24629
doc: add crosscompile_with_multiarch #24629
Changes from 1 commit
7a8e081
bb33a91
2d2c3a6
13d52f8
39f0d75
5cb32db
261074e
62078d1
4f6d215
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a mix of terminal snippets - starting with
$
and without. Prefer avoid$
as documentation does not support copy-to-clipboard option.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was worried about how to distinguish between lines input by the user and lines output by the program. So I added a
$
sign to the beginning of each line.However, it becomes a problem when copying and pasting. These have been removed.
[Host]
and[Target]
to indicate the execution environment also seem to get in the way... I think I'll remove this tomorrow too. Thank you !There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I fixed them. In recent document I think it is suitable to copy and paste ! Thank you for your point!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe something like this?
Step3) Update dpkg setting
Update dpkg settings to support foreign architectures.
Execute
dpkg --add-architecture
with a target architecture:And the following comand shows what foreign architectures are supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I split bach script and its result, thank you for your suggestion.
(It was also used for
ldd
command to detect dependency section.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the last step please describe execution on cross-compilation target: you need to install the same versions of 3rdparty packages, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with you, I will note section tomorrow, thank you very much !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I separate (a) install external libraries, and (b) install opencv which is cross-compile. And I added warning comment that libraries version between compiling and running should be same. Thank you !!