Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc: best practice? #435

Open
karqo opened this issue Jun 24, 2024 · 3 comments
Open

libc: best practice? #435

karqo opened this issue Jun 24, 2024 · 3 comments

Comments

@karqo
Copy link

karqo commented Jun 24, 2024

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?

@longnguyen2004
Copy link
Contributor

sys/signal.h and sys/mman.h are POSIX headers, this toolchain is targeting Windows.

@karqo
Copy link
Author

karqo commented Jun 24, 2024

sys/signal.h and sys/mman.h are 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.? ) ? )

@longnguyen2004
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants