boostorg / boostorg/context

Symbol export with llvm-ml

Aperta
#317 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Assembly
Stelle
370
Fork
186
Merge medio
24g 6h
PR unite (30g)
1

Descrizione

Hi all,

I thought I'd share 2 patches that I needed to successfully compile boost.context on clang-cl with llvm-ml. I think these can't exactly be applied as-is without breaking existing functionality, but it basically stems down to `/quiet` not being supported, and needing to pass `--m64` to enable 64-bit aka the `mt64.exe` equivalent. The other thing is how symbols get exported, the `PROC` call doesn't support `EXPORT` however `__declspec(dllexport)` on the C signature does work.

[cmake.patch](https://github.com/user-attachments/files/22249116/cmake.patch)

[fcontext.patch](https://github.com/user-attachments/files/22249117/fcontext.patch)

Kind regards

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.