On 10/06/2011 22:53, Jonas Maebe wrote:
On 10 Jun 2011, at 23:51, Martin wrote:
I am no expert at this, but for example a "/" is not allowed in windows
filenames (so it should not be in windows path at all. Of course a user can still put it
in there...)
On unix, it is likely to be there => unless the path is almost empty
Can the makefile check the existence of a directory? (and would this check obey
the \/ difference?)
If so (the root directory) / should always exist on unix.
But on windows "/" is not allowed in filenames, and can not exist.
Afaik this doesn't hold anymore if you run make inside a cygwin shell.
Right but iirc cygwin was detected on it's own, and PATHSEP for cygwin
was / anyway
Anyway, if cygwin allows / then it wouldn't matter if / was used?
Of course other settings may be affected...
As I said, makefiles are not exactly my strong side...
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel