[2/4] Put the code in a DLL, and have one version of the DLL for every architecture, then load the appropriate one at startup.
Like you can provide one example .h for "this is how you would include all the versions in one exe with different names" or whatnot, and then another that is "this is how you would include only the one for the target arch", etc.
-
-
It's not pretty, but, multi-arch build just isn't pretty yet because of the language :(
-
Yeah, I'm getting increasingly fed up with the notion of C being "low level". It is a patchwork that is not even close to being aligned with modern CPUs or programmers' needs.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.