E: Package 'gccxml' has no installation candidate

753 Views Asked by At

screenshot of terminal

So, I am unable to find gccxml in ubuntu18,hep me download gccxml in ubuntu18. castxml is easily available. But I need gccxml. Also what is installation candidate? Thanks.

1

There are 1 best solutions below

1
Florian Weimer On BEST ANSWER

The GCC-XML home page says:

Note: GCC-XML has been succeeded by CastXML.

CastXML has been packaged for Ubuntu. However, the replacement is based on the LLVM toolchain.

You could try to compile GCC-XML yourself, but since it was apparently based on GCC 4.2 (released in 2007), it is a dead end, especially for processing C++ sources.