On 6/2/25 3:01 AM, Arijit Kumar Das wrote:
Hi,
When compiling GCC for targets like nvptx-none that require newlib, we
need to put newlib-cygwin/newlib in the root directory of the source
tree (either a copy or a symlink), which is then built by GCC when
targeting offload devices like the above. Changes made in newlib
shouldn't affect GCC, so I think we should include newlib in this case.
Umm, I don't think so. I've been building crosses with gcc for decades.
It should not be necessary, though it may sometimes be convenient.
If you feel there's a strong need, then you're going to have to make a
better case than what you've done above. Specifically you'd need to
start with why the standard cross build procedures don't work for nptx.
jeff