Re: [Gc] "include/private/gcconfig.h", line 604: #error: "The collector has not been ported to this machine/OS combination."

"Richard A. O'Keefe" <ok-JtFlkrn/[email protected]> Wed, 23 Nov 2016 12:03:57 +1300
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>

On 23/11/16 12:52 AM, Bruce Hoult wrote:
> To amplify some more .. the only thing that "The collector has not been
> ported to this machine/OS combination." means is that no one tried it
> with your particular combination of machine/compiler.

I believe that the OP's issue is that the collector HAS been tried with
that particular combination of machine and compiler.

Just not with that particular combination of *options*.

>
> You can find what preprocessor macros are defined with:
>
> gcc -dM -E - </dev/null
>
> Well, that works for gcc, g++, clang, clang++.

That's a gcc-ism; clang copied a lot gcc-isms.
I cannot find an analogue of that option in the cc manual page.

The likeliest problem is headers testing 'sparc' instead of '__sparc'.
Since sun and sparc are only defined when __sun and __sparc are, there
doesn't seem to be any point in ever testing for 'sun' or 'sparc';
they are "legacy" macros.