mailing list of musl libc
 help / color / mirror / code / Atom feed
* why is there no __MUSL__ macro?
@ 2014-09-11 11:00 Jörg Krause
  2014-09-11 11:09 ` Laurent Bercot
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Jörg Krause @ 2014-09-11 11:00 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

Hi,

I am trying to add support for the musl toolchain to FFmpeg.

FFmpeg needs support for library features defined in POSIX.1-2001 with 
XSI extension and the standards below. Currently configure probes the 
host and target libc by checking for defined macros like __GLIBC__ and 
__UCLIBC__. In case of glibc and uclibc it sets -D_XOPEN_SOURCE=600 
properly.

After this it checks for some combinations of hardware and the probed 
libc to set some more compile options, if necessary.

I know that musl does not have a macro __MUSL__ and I have read the 
explanation. However, I don't understand what's meant by "[..] it's a 
bug to assume a certain implementation has particular properties rather 
than testing." and how does it affect the way FFmpeg probes for the libc.

What could be a solution which supports musl?

Many thanks!
Jörg

[-- Attachment #2: Type: text/html, Size: 1434 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-09-12 15:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11 11:00 why is there no __MUSL__ macro? Jörg Krause
2014-09-11 11:09 ` Laurent Bercot
2014-09-11 11:17   ` Szabolcs Nagy
2014-09-11 12:02     ` Jörg Krause
2014-09-11 12:38       ` Szabolcs Nagy
2014-09-11 13:33         ` Jörg Krause
2014-09-11 14:48           ` Szabolcs Nagy
2014-09-11 14:30   ` Christian Neukirchen
2014-09-11 11:17 ` Jens
2014-09-11 12:24   ` Jörg Krause
2014-09-11 14:53     ` Isaac Dunham
2014-09-12  7:39       ` Jörg Krause
2014-09-11 14:47 ` Natanael Copa
2014-09-12  7:35   ` Jörg Krause
2014-09-12 15:37     ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).