Re: [fpc-pascal] FCL: moving FastHTMLParser

2016-05-04 Thread leledumbo
> Isn't it in fpc.cfg? > -Fu/usr/local/bin/x.x.x/units/$fpctarget/* Must be. There's no magic in FPC, except there seems to be a hardcoded -Fu.. in the compiler. Try to execute `fpc -n -vt bogus` and you'll see the predefined paths. -- View this message in context: http://free-pascal-general.1

Re: [fpc-pascal] FCL: moving FastHTMLParser

2016-05-04 Thread Dmitry Boyarintsev
On Wed, May 4, 2016 at 10:36 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > FPC manages to find in somehow (not sure how yet - FPC magic ). > Isn't it in fpc.cfg? -Fu/usr/local/bin/x.x.x/units/$fpctarget/* That's forcing FPC to look through all compiled packages. Since fasthtm

Re: [fpc-pascal] FCL: moving FastHTMLParser

2016-05-04 Thread Graeme Geldenhuys
On 2016-05-04 15:10, Graeme Geldenhuys wrote: > So for now I made a copy of that unit, but that definitely doesn’t seem > like the best way of doing things. Is there a better why of handling this? Umm, in hind sight, simply adding the “fasthtmlparser” to the uses clause in my code seems to work. I

[fpc-pascal] FCL: moving FastHTMLParser

2016-05-04 Thread Graeme Geldenhuys
Hi, Is there any chance of moving “packages/chm/src/fasthtmlparser.pas” to a more publicly accessible location inside the FCL? eg: fcl-base? That way other FCL packages could use that code as well (I think)? I’m working on new code which will eventually live in the FCL. The code needs a simple HT