On 7/26/21 8:59 AM, Taylor Simpson wrote: >> Anyway, I still hope somebody else has already done most of this in a git >> tree somewhere. :) > > We're working on system mode support for Hexagon, and we plan to upstream it > when it is ready.
Yay! Thanks. While you're at it, why is llvm's cmake config unable to do: $ cccnext/cross_bin/hexagon-unknown-linux-musl-cc \ -Xpreprocessor -P -E - <<< __SIZEOF_POINTER__ 4 I'm trying to genericize that llvm build script to do all the targets musl and llvm agree on supporting, which means not passing in -DCMAKE_SIZEOF_VOID_P=4 because the compiler ALREADY KNOWS THIS... but cmake/config-ix.cmake line 196 is REALLY going to barf if we didn't explicitly specify it on the command line? Are the llvm developers not _aware_ of the "cc -E -dM - < /dev/null" trick? Even if they aren't, why couldn't they just sizeof(void *) in a header file? *shrug* I can do the above trick in the wrapper script and then provide -DCMAKE_SIZEOF_VOID_P=$BLAH on the command line, it just seems DEEPLY pointless to go to all the trouble of having a ./configure that has to be manually told stuff the compiler already knows. Confused, Rob