Skip to content

Fix llvm cross build for win on arm#983

Closed
trcrsired wants to merge 4 commits intomadler:developfrom
trcrsired:develop
Closed

Fix llvm cross build for win on arm#983
trcrsired wants to merge 4 commits intomadler:developfrom
trcrsired:develop

Conversation

@trcrsired
Copy link
Copy Markdown

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
Copy Markdown
Author

CMAKE_RC_FLAGS works

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

CMAKE_RC_FLAGS not recognized

split CMAKE_RC_FLAGS instead of CMAKE_RC_COMPILER
@Neustradamus
Copy link
Copy Markdown

@madler: Have you seen this PR?

@Neustradamus Neustradamus mentioned this pull request Nov 11, 2024
@Neustradamus
Copy link
Copy Markdown

@madler: Have you seen this PR?

@Vollstrecker Vollstrecker mentioned this pull request Dec 11, 2024
@madler
Copy link
Copy Markdown
Owner

madler commented Feb 11, 2026

There have been massive changes to zlib's cmake support, so please try again and submit a new pull request if necessary. Thanks.

@madler madler closed this Feb 11, 2026
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.

3 participants