<html><head>

<style id="css_styles"> 
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] {  list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt;   } 
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
 </style>
</head>
<body>Hello,<div><br /></div><div>As a follow-up on a Lazarus feature request.</div><div><span><br /></span></div><div><span>Among other applications, Lazarus uses some hard-coded list that represent FPC features. Like supported MCU and boards. </span><span style="font-size: 12pt;">It would be (much) more convenient to parse the FPC output itself to supply this info. And that could be made easy by using XML as FPC output.</span></div><div><span><br /></span></div><div><span>Besides the above, I would welcome more features to be available through FPC itself.</span></div><div><span>FPC uses system files, located in "compiler/systems". With all kinds of settings. Like alignment and calling convention and linker to</span><span style="font-size: 12pt;"> use.</span></div><div><span>FPC uses search-paths. Some user defined through fpc.cfg, some build-in. See all -F... compiler settings.</span></div><div>It would be nice to be able to get info through FPC itself about these settings and paths.</div><div><span>As maintainer of fpcupdeluxe, often I need to parse fpc.cfg by hand. Or look into a file like fpmkunit.pp to find the valid FPC targets. Or parse the Makefile to find all available subarchs when building a cross-compiler.</span></div><div><span><br /></span></div><div>For a start, I would favor a XML/JSON output of fpc -i. Would be very nice to use its output.</div><div><br /></div><div>Thanks.</div></body></html>