Wookey wrote:
There is no other way to find the size of a float on the target architecture, for example,
That is true, the question I would have are1: why is that the case? why is the only way to find out what size the compiler thinks something should be to compile a test program and run it? 2: why does the build system need to care? what uses does the build system have for such information that couldn't be implemented just as well within the code itself where that information is availble from the compiler without running test programs.