Hi Iain,

> Tested on x86_64-darwin21 for
>   --enable-languages=all
>     => configure: WARNING: cobol not supported for this target
>   --enable-languages=all,cobol
>     => cobol is added to the languages to build.
>
> OK for trunk?

for the time being, I think it would be better to do this the other way
round: the COBOL code is so full of Linuxisms that it's likely to break
any non-Linux target at the moment.  When trying Solaris/amd64 and
Solaris/sparcv9 bootstraps, I came across

* symbols.h:

  __GLIBC_USE                   Linux-only

  strtof128                     dto.

  NAME_MAX                      undef on Solaris, variable

* cdf-copy.cc:

  basename                      clashes with <libgen.h>

  GLOB_BRACE, GLOB_TILDE        Linux extension?

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to