wrong detection of inUnix ?? [Re: [fpc-devel] fcl-WEB build broken]

Martin fpc at mfriebe.de
Fri Jun 10 22:44:31 CEST 2011


Ok, so I started changing the makefile, to see why patsep goes wrong

Right on top of the makefile:

ifeq ($(findstring ;,$(PATH)),)
inUnix=1
SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))


if I change it to
inUnixXX=1
then it works

so it seems that this test, reports my windows system as unix?

$(PATH) => is that the environment?

here is my PATH

PATH=C:\FPC\SVN\trunk_build

I removed all the other stuff from it, trunk_build has all that is 
needed. So there is no inteference from any other installed product...



On 10/06/2011 21:07, Martin wrote:
> From makefile.fpc
>
> # clean by replacing the command with 'echo'
> FPMAKE_BIN_CLEAN=$(wildcard ./fpmake$(SRCEXEEXT))
>
>
> Not sure if related, it happened in make, not clean....
>
> On 10/06/2011 21:03, Martin wrote:
>> On 10/06/2011 21:01, Michael Van Canneyt wrote:
>>>
>>>
>>> On Fri, 10 Jun 2011, Martin wrote:
>>>
>>>> Everytime I update, lately I run into issues....
>>>>
>>>> problem is th "/" which is not regognized by windows.
>>>> ./fpmake.exe
>>>>
>>>> windows believes "." is the command.
>>>
>>> That's kind of strange, because from
>>>
>>> LOCALFPMAKE=.$(PATHSEP)fpmake$(SRCEXEEXT)
>>>
>>> I would guess that the correct pathsep is used (namely \ under windows)
>>>
>>> LOCALFPMAKE is the command used to compile the lot.
>>>
>>> Michael.
>>>>
>>>>
>>>> make.exe -C fcl-web smart
>>>> make.exe[3]: Entering directory `C:/FPC/SVN/trunc/packages/fcl-web'
>>>> C:/FPC/SVN/trunc/compiler/ppc386.exe fpmake.pp 
>>>> -FuC:/FPC/SVN/trunc/rtl/units/i386-win32 
>>>> -FuC:/FPC/SVN/trunc/packages/hash/units/i386-win32
>>>> -FuC:/FPC/SVN/trunc/packages/paszlib/units/i386-win32 
>>>> -FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32 
>>>> -FuC:/FPC/SVN/trunc/packages
>>>> /fpmkunit/units/i386-win32
>>>> ./fpmake.exe build --localunitdir=../.. --globalunitdir=.. 
>>>> --os=win32 --cpu=i386 -o -XX -o -CX -o -Ur -o -Xs -o -O2 -o -n -o 
>>>> -O2 -o -FuC:/FP
>>>> C/SVN/trunc/rtl/units/i386-win32 -o 
>>>> -FuC:/FPC/SVN/trunc/packages/hash/units/i386-win32 -o 
>>>> -FuC:/FPC/SVN/trunc/packages/paszlib/units/i386-wi
>>>> n32 -o -FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32 -o 
>>>> -FuC:/FPC/SVN/trunc/packages/fpmkunit/units/i386-win32 -o -FE. -o 
>>>> -FUuni
>>>> ts/i386-win32 -o -gl -o -O3 -o -Or -o -CpPENTIUMM -o -OpPENTIUMM -o 
>>>> -di386 -o -dRELEASE --compiler=C:/FPC/SVN/trunc/compiler/ppc386.exe 
>>>> -o "
>>>> -XX -CX"
>>>> '.' is not recognized as an internal or external command,
>>>> operable program or batch file.
>>>> make.exe[3]: *** [smart] Error 1
>>>> make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/packages/fcl-web'
>>>> make.exe[2]: *** [fcl-web_smart] Error 2
>>>> make.exe[2]: Leaving directory `C:/FPC/SVN/trunc/packages'
>>>> make.exe[1]: *** [packages_smart] Error 2
>>>> make.exe[1]: Leaving directory `C:/FPC/SVN/trunc'
>>>> make.exe: *** [build-stamp.i386-win32] Error 2
>>>>
>>>> _______________________________________________
>>>> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>>>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>>>>
>>> _______________________________________________
>>> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>>
>> _______________________________________________
>> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list