On Wed, 17 Oct 2007 10:27:38 +0200
Vincent Snijders <[EMAIL PROTECTED]> wrote:
> Burkhard Carstens schreef:
> > Am Mittwoch, 17. Oktober 2007 00:48 schrieb Mattias Gaertner:
> >> On Tue, 16 Oct 2007 19:09:17 +0200
> >>
> >> Joost van der Sluis <[EMAIL PROTECTED]> wrote:
> >>> Hi all,
> >>>
> >>> If you run 'fpcmake -Tall' in the lazarus-directory to create a
> >>> new Makefile, it will fail if you use fpc 2.2.0.
> >>>
> >>> That's because the Makefile.fpc says it needs the package 'fcl',
> >>> but that package doesn't exist anymore.
> >>>
> >>> Replacing it by fcl-base, fcl-db, fcl-etcetc could fix it, but
> >>> then it won't work with fpc-2.0.4 anymore. (It will compile, you
> >>> only can't update the Makefile)
> >>>
> >>> Maybe it's an idea to remove the fcl-dependency alltogether, since
> >>> every fpc-installation has the fcl installed by default. It's not
> >>> really needed there. (I tried, lazarus does compile with a
> >>> makefile generated without the fcl-dependency)
> >> Done.
> >
> > Don't know why, but this commit (r12495) breaks "make all" on linux
> > (i386, fpc-2.2.1-r8822):
> > Linking ../lazarus
> > /usr/bin/ld: cannot find -lglib
> > lazarus.pp(114,1) Error: Error while linking
> >
> > r12494 builds fine ..
It works here.
> I don't understand what triggered this change in ide/Makefile:
>
> @@ -1569,37 +1548,6 @@
> else
> CROSSBINDIR=
> endif
> -ifeq ($(OS_SOURCE),linux)
> -ifndef GCCLIBDIR
> -ifeq ($(CPU_TARGET),i386)
> -ifneq ($(findstring x86_64,$(shell uname -a)),)
> -ifeq ($(BINUTILSPREFIX),)
> -GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
> -endif
> -endif
> -endif
> -ifeq ($(CPU_TARGET),powerpc64)
> -ifeq ($(BINUTILSPREFIX),)
> -GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`)
> -endif
> -endif
> -endif
> -ifndef GCCLIBDIR
> -CROSSGCC=$(strip $(wildcard $(addsuffix
> /$(BINUTILSPREFIX)gcc$(SRCEXEEXT),$(SEARCHPATH))))
> -ifneq ($(CROSSGCC),)
> -GCCLIBDIR:=$(shell dirname `$(CROSSGCC) -print-libgcc-file-name`)
> -endif
> -endif
> -ifndef OTHERLIBDIR
> -OTHERLIBDIR:=$(shell grep -v "^\#" /etc/ld.so.conf | awk '{ ORS=" ";
> print $1 }') -endif
> -endif
> -ifdef inUnix
> -ifeq ($(OS_SOURCE),netbsd)
> -OTHERLIBDIR+=/usr/pkg/lib
> -endif
> -export GCCLIBDIR OTHERLIB
> -endif
> BATCHEXT=.bat
> LOADEREXT=.as
> EXEEXT=.exe
Strange indeed. I used the 2.2.1 fpcmake and 2.2.1 sources to create the
Makefile.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives