wrong detection of inUnix ?? [Re: [fpc-devel] fcl-WEB build broken]
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Jun 10 23:31:28 CEST 2011
On 10 Jun 2011, at 23:01, Martin wrote:
> On 10/06/2011 21:54, Jonas Maebe wrote:
>> On 10 Jun 2011, at 22:44, Martin wrote:
>>
>> Removing all stuff from it is what is causing the problem. The OS detection is based on checking whether or not the PATH contains a semicolon. If it doesn't, we assume it's Unix (it has always worked like that).
> Ok, it was an easy fix. I added a trailing ";"
>
> However, the makefiles for building the compiler, (and probably rtl) did not have a problem at all.
>
> This happened during a full make (after a full "make clean")
> So both compiler and rtl should have been build, before packages? fcl-web is then probably just the first package....
fcl-web is the only package that currently uses fpmake for building.
> btw: isn't ";" a valid char in a unix pathname?
Yes, but it's quite rare. It's simply the best way we have found to detect Unix environments via the Makefile. A better way is always welcome.
Jonas
More information about the fpc-devel
mailing list