On Tue, 3 Jan 2023, Iain Sandoe wrote: > 1. Modula-2 should not forward the builtins unless the target supports them, > either by expansion or the relevant lib functions. So that would need > some > configury and conditional build code.
Note that such configure tests could only readily be in the library configure scripts, not in the compiler configure scripts - you can't do target compile or link tests in host-side configure. (To a limited extent it's possible to grep target headers in host-side configure, though not to actually preprocess them since the compiler required for such preprocessing doesn't exist at that point.) -- Joseph S. Myers jos...@codesourcery.com