Displaying 1 result from an estimated 1 matches for "5fcc6838".
2019 Jun 07
2
ld.lld fails with "undefined symbol: _fopen" on macOS, while working as expected on Linux
Thanks, Tim.
You are right, it's using macOS' stdio.h, which is a terrible idea.
Clang docs on --sysroot:
When you have extracted your cross-compiler from a zip file into a
directory, you have to use --sysroot=<path>. The path is the root directory
where you have unpacked your file, and Clang will look for the directories
bin, lib, include in there.
I have a silly question: where