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

feat: add cross compile #36

Merged
merged 2 commits into from
Feb 5, 2023

Conversation

helintongh
Copy link
Collaborator

Added cross-compilation, allowing users to compile xfrpc for other architectures in x86.


Cross-compile arm architecture xfrpc
```
sudo apt-get install arm-linux-gnueabihf-gcc
Copy link
Owner

Choose a reason for hiding this comment

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

In my 20.04 environment, it's gcc-arm-linux-gnueabihf, but arm-linux-gnueabihf-gcc.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fix it, Any compiler can be specified via the CMAKE_C_COMPILER parameter

Signed-off-by: helintongh <agh6399@qq.com>
…adapt to more compilers

Signed-off-by: helintongh <agh6399@qq.com>
@liudf0716 liudf0716 merged commit a644c73 into liudf0716:master Feb 5, 2023
@liudf0716
Copy link
Owner

@helintongh merged, thanks!

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

2 participants