llvm-mingw
llvm-mingw copied to clipboard
libc: best practice?
There are problems to get libc (?) functionalities working.
For example, inclusions like sys/signal.h or sys/mman.h (by 3rd party libraries) can not be found using releases llvm-mingw-2024<month,day>-ucrt-ubuntu-20.04-x86_64.tar.xz, in contrast to original llvm (clang).
Is there a recommended practice (within the toolchain) of how to get it working?
sys/signal.h and sys/mman.h are POSIX headers, this toolchain is targeting Windows.
sys/signal.handsys/mman.hare POSIX headers, this toolchain is targeting Windows.
To my understanding this should not be a contradiction, if you have a correctly set up environment, right? (Compare to, e.g., #390 , the hints of which have not been sufficient yet though. Perhaps someone could provide more explicit hints (e.g., possibly missing flags, installs etc.? ) ? )
That's a very specific issue regarding PGO and its interaction with ffmpeg's configure script. Since I don't have any extra context on your issue, I can only assume that you're trying to compile some Linux/POSIX specific libraries, which will not work since this toolchain is targeting Windows.
Please provide some info on what you're trying to do.