News for hackers. Stuff that matters.
Re:HelloSilicon – An introduction to assembly on Apple Silic... by pmalynin on Sunday December 25, 2022 @12:58PM (#34129415)
libsystem is what you want to use, not libc per se
Re:HelloSilicon – An introduction to assembly on Apple Silic... by moonchild on Sunday December 25, 2022 @01:09PM (#34129541)
Depends on priorities. Libc is likely to be better documented and work across oses with less or no hassle.
Re:HelloSilicon – An introduction to assembly on Apple Silic... by pourred on Sunday December 25, 2022 @02:54PM (#34130603)
AFAIK there's no "libc" on macOS. libSystem is "libc".
Re:HelloSilicon – An introduction to assembly on Apple Silic... by stephencanon on Sunday December 25, 2022 @03:22PM (#34130856)
libc (under the name libSystem_c.dylib) is one of several components that make up libSystem. But none of these dylibs (including libSystem itself) actually exist in the installed image as dylibs: they’re part of the dyld shared cache.
Re:HelloSilicon – An introduction to assembly on Apple Silic... by KerrAvon on Sunday December 25, 2022 @10:06PM (#34134122)
We’re talking about the developer experience, not the implementation. Assuming the IDE doesn’t do it for them, they’re going link against libsystem.