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

Fix llvm cross build for win on arm #983

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

trcrsired
Copy link

I try to use clang for cross-compiling for the win on the arm.

The problem is that llvm-windres, by default, uses the false build architecture.

I try to use clang for cross-compiling for the win on the arm.

The problem is that llvm-windres, by default, uses the false build architecture.
@trcrsired trcrsired closed this Jun 20, 2024
The problem is that i try to pass -DCMAKE_RC_COMPILER="llvm-windres --target=$TARGETTRIPLE -I$SYSROOTPATH/include" for cross compiling to arm. this is not possible.

Fix it by split parameters
@trcrsired trcrsired reopened this Jun 20, 2024
@trcrsired
Copy link
Author

CMAKE_RC_FLAGS works

@trcrsired trcrsired closed this Jun 21, 2024
@trcrsired trcrsired reopened this Jun 21, 2024
@trcrsired
Copy link
Author

CMAKE_RC_FLAGS not recognized

split CMAKE_RC_FLAGS instead of CMAKE_RC_COMPILER
@Neustradamus
Copy link

@madler: Have you seen this PR?

@Neustradamus Neustradamus mentioned this pull request Nov 11, 2024
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.

2 participants