dub-registry icon indicating copy to clipboard operation
dub-registry copied to clipboard

Missing proper documentation on how to cross compile with dub

Open crazymonkyyy opened this issue 4 years ago • 2 comments

As far as I can tell https://wiki.dlang.org/Cross-compiling_with_LDC#Cross-compiling_with_dub is all the information that exist, so when you run into issues, you can only grasp at straws.

crazymonkyyy avatar Apr 23 '20 22:04 crazymonkyyy

CC @kinke

Geod24 avatar Apr 24 '20 06:04 Geod24

As far as dub itself is concerned, its only job is to forward the --arch target triple to all LDC invocations (as -mtriple) [besides figuring correct file extensions etc. for the target], so most potential issues arise from an inadequate LDC setup. - Slightly extending the dub cmdline help or whatever can be done by anyone, just like updating the Wiki pages.

kinke avatar Apr 24 '20 11:04 kinke