https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109282
Bug ID: 109282 Summary: Libgcc references sh and not $(SHELL) in Makefile.in Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: chrisj at rtems dot org Target Milestone: --- Created attachment 54753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54753&action=edit Change sh to $(SHELL) The libgcc Makefile.in has `sh` and not `$(SHELL)` and that failed on MacOS Ventura. The attached patch fixes the problem and builds an RTEMS crosscompiler tool chain.