Similar problem here: ld: library not found for -lSystem
It seems like there is no GCC support in Big Sur (?) I get the same message when I try to build with GCC as well.
Topic:
App & System Services
SubTopic:
Core OS
Tags: