[fpc-devel]wrong MAKE all

Darek Mazur darekm at emadar.com
Sun Jan 11 22:12:51 CET 2004


I discover solution, problem is in compiler\makefile:

change line (about 180 in makefile):
ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
override FPCDIR=c:/pp
endif
to:

ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
override FPCDIR:=$(BASEDIR)
ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
override FPCDIR=c:/pp
endif
endif

thas my prop, its not so clear that may be
but somebody may change FPCMAKE

Darek

----- Original Message ----- 
From: "Peter Vreman" <peter at freepascal.org>
To: <fpc-devel at lists.freepascal.org>
Sent: Sunday, January 11, 2004 2:35 PM
Subject: Re: [fpc-devel]wrong MAKE all


> At 23:10 9-1-2004, you wrote:
> >Hi
> >I've try to do
> >make all
> >
> >but I recieve ***No rule to make target clean
> >
> >my home dir is c:\fp, and I use WIN98
> >
> >I nottice  that UTILS clean good, from log :
> >MAKE.EXE[5]: Leaving directory `C:/fp/source/compiler/utils'
> >
> >  but for rtl MAKE looking for c:\pp
> >
> >C:/FP/BIN/WIN32/MAKE.EXE -C c:/pp/units/win32/rtl clean
> >                                                          ^^^^
> >in make file is:
> >ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
> >override FPCDIR:=$(FPCDIR)/..
> >ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
> >override FPCDIR=c:/pp
> 
> It looks like it can't find c:/fp/source/rtl or c:/fp/source/units
> 
> 
> >I think that default directory is c:\pp, but how this change.
> 
> make FPCDIR=c:/fp/source
> 
> 
> Peter
> 
> 
> _______________________________________________
> 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