wrong detection of inUnix ?? [Re: [fpc-devel] fcl-WEB build broken]
jonas.maebe at elis.ugent.be
Sat Jun 11 00:06:04 CEST 2011
On 10 Jun 2011, at 23:56, Martin wrote:
> 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
Indeed. Then it must have been something else.
> Anyway, if cygwin allows / then it wouldn't matter if / was used?
> Of course other settings may be affected...
Many other settings are affected (default search location for the "fpc" binary, extension of executables and script files, calling the zipper, installing files, ...).
More information about the fpc-devel