[fpc-pascal] fpdoc and multiple Include paths issue

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Jun 8 14:16:17 CEST 2010


Op 2010-06-08 13:26, Michael Van Canneyt het geskryf:
> 
> No. You must specify a -Fi per path. It doesn't split the path.

Umm, but FPC allows it in fpc.cfg file, so maybe allowing it in fpdoc will
be more consistent don't you think. It should be rather easy to add.

eg:
A sample from FPC generated ~/.fpc.cfg file shows two examples where
multiple paths are allowed:

-----------------------------
## searchpath for includefiles
#-Fi/pp/inc;/pp/rtl/inc

...

# searchpath for libraries
-Fl/usr/lib/gcc/i486-linux-gnu/4.0.2
#-Fl/pp/lib
#-Fl/lib;/usr/lib
-----------------------------


> (coincidentally, the path separator is : on linux, not ; :))

I know, and tried both just too see. But as Jonas has said, FPC itself uses
semi-colon on all platforms, hence the reason I tried semi-colon first.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-pascal mailing list