* fixed cross compilation

git-svn-id: trunk@10297 -
This commit is contained in:
florian 2008-02-11 15:35:59 +00:00
parent ed86757898
commit 4056064f83
2 changed files with 5 additions and 30 deletions

View File

@ -1,8 +1,8 @@
#
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/01/22]
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/10/22]
#
default: all
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded
BSDs = freebsd netbsd openbsd darwin
UNIXs = linux $(BSDs) solaris qnx
LIMIT83fs = go32v2 os2 emx watcom
@ -108,11 +108,7 @@ ifndef FPC
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
ifneq ($(FPCPROG),)
FPCPROG:=$(firstword $(FPCPROG))
ifneq ($(CPU_TARGET),)
FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB)
else
FPC:=$(shell $(FPCPROG) -PB)
endif
ifneq ($(findstring Error,$(FPC)),)
override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH)))))
endif
@ -382,9 +378,6 @@ endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override TARGET_UNITS+=gdbint gdbcon
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
override TARGET_UNITS+=gdbint gdbcon
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override TARGET_UNITS+=gdbint gdbcon
endif
@ -541,9 +534,6 @@ endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override TARGET_EXAMPLES+=testgdb symify
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
override TARGET_EXAMPLES+=testgdb symify
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override TARGET_EXAMPLES+=testgdb symify
endif
@ -701,9 +691,6 @@ endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override COMPILER_INCLUDEDIR+=src
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
override COMPILER_INCLUDEDIR+=src
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override COMPILER_INCLUDEDIR+=src
endif
@ -860,9 +847,6 @@ endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override COMPILER_SOURCEDIR+=src tests
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
override COMPILER_SOURCEDIR+=src tests
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override COMPILER_SOURCEDIR+=src tests
endif
@ -1019,9 +1003,6 @@ endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override COMPILER_OBJECTDIR+=$(GDBLIBDIR)
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
override COMPILER_OBJECTDIR+=$(GDBLIBDIR)
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override COMPILER_OBJECTDIR+=$(GDBLIBDIR)
endif
@ -1178,9 +1159,6 @@ endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override COMPILER_LIBRARYDIR+=$(GDBLIBDIR)
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
override COMPILER_LIBRARYDIR+=$(GDBLIBDIR)
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override COMPILER_LIBRARYDIR+=$(GDBLIBDIR)
endif
@ -2116,9 +2094,6 @@ endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
REQUIRE_PACKAGES_RTL=1
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
REQUIRE_PACKAGES_RTL=1
endif
ifeq ($(FULL_TARGET),x86_64-win64)
REQUIRE_PACKAGES_RTL=1
endif
@ -2341,7 +2316,7 @@ endif
endif
endif
.PHONY: fpc_units
ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
ifneq ($(TARGET_UNITS),)
override ALLTARGET+=fpc_units
override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))
override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS))
@ -2831,7 +2806,7 @@ endif
else
GDBVER=GDB_V606
gdbver.inc:
$(CPPROG) gdbver_nogdb.inc gdbver.inc
$(CPPROG) src/gdbver_nogdb.inc src/gdbver.inc
gdbint$(PPUEXT): gdbint.pp gdbver.inc
@$(ECHO) Different target os or cpu, using default GDB $(GDBVER)
$(COMPILER) -d$(GDBVER) -Fisrc -Fusrc src/gdbint.pp

View File

@ -107,7 +107,7 @@ else
# Different OS_TARGET, default to libgdb v6
GDBVER=GDB_V606
gdbver.inc:
$(CPPROG) gdbver_nogdb.inc gdbver.inc
$(CPPROG) src/gdbver_nogdb.inc src/gdbver.inc
gdbint$(PPUEXT): gdbint.pp gdbver.inc
@$(ECHO) Different target os or cpu, using default GDB $(GDBVER)
$(COMPILER) -d$(GDBVER) -Fisrc -Fusrc src/gdbint.pp