VOGONS

Common searches


Search results

Display options

Re: OS X Core Audio Compile Problem

Now confirming that this change allows DOSBox to build with MacPorts gcc versions from 5 through 10 (https://github.com/dreamer/dosbox-staging/commit/b727942909f905aae449899ba65be1190c1c013c/checks?check_suite_id=283858513). Clang builds of DOSBox are unaffected and continue to include CoreMIDI …

Re: OS X Core Audio Compile Problem

Your notes were perfect; thanks Dominus. DOSBox is now building clean using a pure-MacPorts suite with gcc-9. Here's a link to the full run: https://github.com/dreamer/dosbox-staging/runs/277061295 MacPorts is installed from source, PATH prefixed with /opt/local/bin, and the following "*-mp-9" …

Re: OS X Core Audio Compile Problem

jmarsh, I tested your suggestion (diff): https://github.com/dreamer/dosbox-staging/commit/135c9d2233f932e9f8c0d571da64b6a9bddb4620 And it's working well for clang: checking if compiler supports -mno-ms-bitfields... yes checking if compiler supports CoreMIDI headers... yes checking for ALSA CFLAGS... …

Re: OS X Core Audio Compile Problem

In my opinion the proper "fix" for this is writing an autoconf test based on a .c file that #includes and if it fails to compile, exclude the coremidi stuff. Very nice; and thank you. I prefer your solution because it directly tests the active compiler's ability to include and parse whatever Core …

Re: OS X Core Audio Compile Problem

for a more robust and proper installer MacPorts is better, as it tries to keep self contained and doesn't mess things up by going into /usr/local Thanks. I'm assuming this will install the Apple-modified gcc? (a valuable test scenario that jmarsh suggested) Are there some non-interactive command …

Re: OS X Core Audio Compile Problem

Have you checked if Apple's gcc ( not clang ) also supports the detection method you have added, or have you unintentionally disabled coremidi for OSX PPC builds? Good question and I appreciate the technical focus. I'm not sure, however Apple's modified gcc needs to support the Blocks extension …

Re: OS X Core Audio Compile Problem

I don't see a reference to the DOSBox's core developers stating that GNU gcc is explicitly not supported on OS X, and that only Apple's modified gcc (or clang-in-disguise) is supported. Do you have that reference or not? It could be interpreted that jmarsh meant this but he didn't and I suspect you …

Re: OS X Core Audio Compile Problem

It is nice what you are doing here but IMO you are going way over the top in this. I honestly wasn't aware that building DOSBox with 'brew install gcc' would garner so much contention (at least from non-core-devs.. I don't see Qbix taking issue), and that doing so would be considered an over-the- …

Re: OS X Core Audio Compile Problem

Google's first hit for 'apple, how to install gcc', is to an Apple-hosted help forum where the number one response says 'brew install gcc' and then calling those binaries from /usr/local/bin. https://discussions.apple.com/thread/8336714 When I use the term 'gcc', I'm talking about the as-released …

Re: OS X Core Audio Compile Problem

One problem of supporting several compilers is the vast amounts of regression testing. Every version is different. Back in the early 2000s, I was writing production c++ from high-level pseduo-code and existing source from academic researchers (Some was fortran written in the 70s; other code was …

Re: OS X Core Audio Compile Problem

not sure why you're going to the effort of setting up a buildchain with a third-party supplied compiler when that's never been a supported configuration. I wasn't aware DOSBox's core developers exclusively support Clang-based builds on OS X (happy if you can point me to that). Similarly, I wasn't …

Re: OS X Core Audio Compile Problem

Only for compiling the PPC version did I need to cross compile using old gcc 4.0/4.2, but that is also the one apple supplied Oh.. interesting. They might have mangled it with their non-standard language extensions prior to getting clang underway. In any case, do you know if it's pulling in the …

Re: OS X Core Audio Compile Problem

If you leave these blocks out, does CoreMidi work on OS X? Or is it just to satisfy the buildtest? CoreMidi is the way DOSBox can use real Midi devices like a Roland MT-32 but also virtual Midi devices like Munt (when it is not built in). Dominus, you mentioned cross-compiling for OS X, https:// …

Re: OS X Core Audio Compile Problem

If you leave these blocks out, does CoreMidi work on OS X? Or is it just to satisfy the buildtest? CoreMidi is the way DOSBox can use real Midi devices like a Roland MT-32 but also virtual Midi devices like Munt (when it is not built in). Good question.. I don't have an OS X machine (or VM) to test …

Re: OS X Core Audio Compile Problem

I believe Apple's version of gcc (back when they used to use it instead of clang) handles these files fine, the problem is an external build of gcc is being used instead. It's the classic problem of having to use apple's stuff to build for their platform. Absolutely. It's arrogant of Apple to not …

Re: OS X Core Audio Compile Problem

Qbix, I'm glad to help. Yes, the header is non-standard, and deliberately so. dreamer_ augmented the macOS build to cat the entire header: https://github.com/dreamer/dosbox-staging/runs/275683941 That's a pretty nasty smoking gun.. exactly as jmarsh describes. It's the Apple way or the highway. Good …

Page 11 of 27