https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124616

--- Comment #9 from Steve Kargl <kargl at gcc dot gnu.org> ---
(In reply to James K. Lowden from comment #8)
> (In reply to Steve Kargl from comment #5)
> > (In reply to Steve Kargl from comment #4)
> > 
> > > ../../../gcc/libgcobol/posix/shim/open.cc:33:29: error: 'O_LARGEFILE' was
> >                          ^^^^^
> > 
> > This is a misnomer.  Neither 0_LARGEFILE, O_NOATIME, nor O_TMPFILE
> > are defined by POSIX.
> 
> I will correct.

Thanks.  I simply used 

#if !defined(__FreeBSD__)
...
#endif

to work around the undefined flags.  I was not sure if cobol needed
these flags on other systems.

I need to remember how to alter libgcobol/configure.ac to provide
a test for xml2 files.  On FreeBSD, these are added through its
its Ports Collection and end up in /usr/local/include/libxml2.
Ah, nevermiond, I just looked at the file.  It seems I can use
--enable-target-libxml= to find the header files.

Reply via email to