[fpc-pascal] Is it possible to use top directory of subtree with -Fu -Fi -Fl options?

Tony Papadimitriou tonyp at acm.org
Mon Sep 29 11:00:26 CEST 2014


OK, I think I realized what the problem is.  The * will apparently search in 
all subdirectories but (apparently again) one level deep.  So, if you have 
something like:

\progs\pascal\units\a
\progs\pascal\units\a\b

and you give -Fu\progs\pascal\units\*
it will look in \progs\pascal\units\a but not in \progs\pascal\units\a\b

So, is there a way to do this, i.e., specify the 'root' director for your 
units/includes and have it look at all files underneath regardless of 
nesting level?

-----Original Message----- 
From: leledumbo
Sent: Sunday, September 28, 2014 6:16 PM
To: fpc-pascal at lists.freepascal.org
Subject: Re: [fpc-pascal] Is it possible to use top directory of subtree 
with -Fu -Fi -Fl options?

> For example, could something equivalent to \progs\pascal\units\* be used
to?  (This I tried, it didn’t work.)

It should. Try compiling with -vt, you'll see how the compiler looks for
files. My fpc.cfg only has single line of -Fu, yet the unit directories are
organized exactly the way your layout looks like. I even works for all my
cross targets as well.



--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/Is-it-possible-to-use-top-directory-of-subtree-with-Fu-Fi-Fl-options-tp5720176p5720182.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal





More information about the fpc-pascal mailing list