On Thu, 23 Oct 2025, Siddhesh Poyarekar wrote:

> IMO the best way forward here would be adding a configure check for libxml2
> specifically for libgcobol (and maybe gcc/cobol if the frontend needs it too).

Note that a configure test for target libxml2 as used by libgcobol (as 
opposed to one for host libxml2 if needed by the compiler) can only happen 
at a fairly late stage (i.e. when configuring libgcobol for each multilib; 
libxml2 availability may vary between multilibs; before then, there might 
not be a compiler for the target at all to use in running such a configure 
test).  (Cf. back when we had the Java target library which also had 
issues with possible use of various libraries that might not be available, 
or might not be available for all multilibs.)

-- 
Joseph S. Myers
[email protected]

Reply via email to