Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-01

wrong MAKE all

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darek Mazur

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

I think that default directory is c:\pp, but how this change.

Darek

-----------------
PS.
log from make --debug

Must remake target `clean'.
Successfully remade target file `clean'.
MAKE.EXE[5]: Leaving directory `C:/fp/source/compiler/utils' Successfully remade target file `utils_clean'.
File `i386_clean' does not exist.
Must remake target `i386_clean'.
C:/FP/BIN/WIN32/rm.exe -f i386/*.o i386/*.ppu i386/*.rst i386/*.s i386/*.a i386/*.dll i386/*.ppl
C:/FP/BIN/WIN32/rm.exe -f i386/ppc386.exe i386/ppcaxp.exe i386/ppc68k.exe i386/ppcppc.exe i386/ppcppc.exe i386/ppc386.exe
Successfully remade target file `i386_clean'.
File `powerpc_clean' does not exist.
Must remake target `powerpc_clean'.
C:/FP/BIN/WIN32/rm.exe -f powerpc/*.o powerpc/*.ppu powerpc/*.rst powerpc/*.s powerpc/*.a powerpc/*.dll powerpc/*.ppl C:/FP/BIN/WIN32/rm.exe -f powerpc/ppc386.exe powerpc/ppcaxp.exe powerpc/ppc68k.exe powerpc/ppcppc.exe powerpc/ppcppc.exe powerpc/ppc386.exe Successfully remade target file `powerpc_clean'.
File `sparc_clean' does not exist.
Must remake target `sparc_clean'.
C:/FP/BIN/WIN32/rm.exe -f sparc/*.o sparc/*.ppu sparc/*.rst sparc/*.s sparc/*.a sparc/*.dll sparc/*.ppl
C:/FP/BIN/WIN32/rm.exe -f sparc/ppc386.exe sparc/ppcaxp.exe sparc/ppc68k.exe sparc/ppcppc.exe sparc/ppcppc.exe sparc/ppc386.exe Successfully remade target file `sparc_clean'.
Must remake target `clean'.
Successfully remade target file `clean'.
MAKE.EXE[4]: Leaving directory `C:/fp/source/compiler' C:/FP/BIN/WIN32/MAKE.EXE -C c:/pp/units/win32/rtl clean GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for mingw32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Reply by email

Peter Vreman
to Darek Mazur
you wrote 20 lines
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

Reply by email

Darek Mazur
to Peter Vreman
make FPCDIR=c:/fp/source

Thats not work
DEFAULT_FPCDIR don't work too

please help

Earlier message 45 lines
----- Original Message ----- From: "Peter Vreman" To: 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 - > http://lists.freepascal.org/mailman/listinfo/fpc-devel > >

Reply by email

Darek Mazur
to Peter Vreman: It looks like it can't find c:/fp/source/rtl or c:/fp/source/units make…

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

Earlier message 45 lines
----- Original Message ----- From: "Peter Vreman" To: 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 - > http://lists.freepascal.org/mailman/listinfo/fpc-devel > >

Reply by email

Peter Vreman
to Darek Mazur
you wrote 17 lines
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

Added
Peter

Reply by email