* -Ur added

This commit is contained in:
peter 2001-06-18 20:36:28 +00:00
parent e24474d9ac
commit 1d7e2bb6cb
14 changed files with 134 additions and 14 deletions

View File

@ -1,5 +1,5 @@
# #
# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/06] # Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/10]
# #
default: all default: all
override PATH:=$(subst \,/,$(PATH)) override PATH:=$(subst \,/,$(PATH))
@ -125,6 +125,13 @@ INC=$(RTL)/inc
PROCINC=$(RTL)/$(CPU_TARGET) PROCINC=$(RTL)/$(CPU_TARGET)
UNIXINC=$(RTL)/unix UNIXINC=$(RTL)/unix
UNITPREFIX=rtl UNITPREFIX=rtl
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph
override TARGET_UNITS+=system objpas strings beos dos sysutils typinfo math varutils cpu mmx getopts heaptrc lineinfo override TARGET_UNITS+=system objpas strings beos dos sysutils typinfo math varutils cpu mmx getopts heaptrc lineinfo

View File

@ -38,6 +38,17 @@ UNIXINC=$(RTL)/unix
UNITPREFIX=rtl UNITPREFIX=rtl
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
# Paths # Paths
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph

View File

@ -25,7 +25,6 @@ fpcpackage=y
[default] [default]
fpcdir=../.. fpcdir=../..
target=freebsd target=freebsd
cpu=i386
[compiler] [compiler]
includedir=$(INC) $(PROCINC) $(UNIXINC) includedir=$(INC) $(PROCINC) $(UNIXINC)
@ -60,6 +59,17 @@ override FPCOPT+=-dUNIX
PRT0=prt0_10 PRT0=prt0_10
endif endif
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
# Paths # Paths
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph

View File

@ -1,5 +1,5 @@
# #
# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/06] # Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/10]
# #
default: all default: all
override PATH:=$(subst \,/,$(PATH)) override PATH:=$(subst \,/,$(PATH))
@ -123,6 +123,13 @@ override PACKAGE_NAME=rtl
RTL=.. RTL=..
INC=../inc INC=../inc
PROCINC=../$(CPU_TARGET) PROCINC=../$(CPU_TARGET)
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph
SYSTEMUNIT=system SYSTEMUNIT=system

View File

@ -36,6 +36,17 @@ RTL=..
INC=../inc INC=../inc
PROCINC=../$(CPU_TARGET) PROCINC=../$(CPU_TARGET)
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
# Paths # Paths
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph

View File

@ -1,5 +1,5 @@
# #
# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/06] # Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/10]
# #
default: all default: all
override PATH:=$(subst \,/,$(PATH)) override PATH:=$(subst \,/,$(PATH))
@ -124,6 +124,13 @@ RTL=..
INC=../inc INC=../inc
PROCINC=../$(CPU_TARGET) PROCINC=../$(CPU_TARGET)
UNITPREFIX=rtl UNITPREFIX=rtl
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph
ifdef EXCEPTIONS_IN_SYSTEM ifdef EXCEPTIONS_IN_SYSTEM

View File

@ -40,6 +40,17 @@ PROCINC=../$(CPU_TARGET)
UNITPREFIX=rtl UNITPREFIX=rtl
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
# Paths # Paths
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph

View File

@ -1032,7 +1032,10 @@ begin
{ if a subfunction calls runerror !! } { if a subfunction calls runerror !! }
exceptions_on:=not exceptions_on; exceptions_on:=not exceptions_on;
v2prt0_exceptions_on:=exceptions_on; v2prt0_exceptions_on:=exceptions_on;
for i:=0 to EXCEPTIONCOUNT-1 do { Exceptions 18 and 19 settings generates a bug in
the DJGPP debug code PM }
for i:=0 to 17{EXCEPTIONCOUNT-1} do
begin begin
if get_pm_exception_handler(i,_except) then if get_pm_exception_handler(i,_except) then
begin begin
@ -1288,7 +1291,7 @@ begin
{ the first 18 exceptions start at offset +8 since exception { the first 18 exceptions start at offset +8 since exception
#18 and #19 had to be put in front of the table. } #18 and #19 had to be put in front of the table. }
_except.offset:=@djgpp_exception_table + 8; _except.offset:=@djgpp_exception_table + 8;
for i:=0 to ExceptionCount-3 do for i:=0 to 17 do
begin begin
except_ori[i] := _except; { New value to set } except_ori[i] := _except; { New value to set }
inc(_except.offset,4); { This is the size of push n, jmp } inc(_except.offset,4); { This is the size of push n, jmp }
@ -1480,7 +1483,10 @@ end;
{$endif IN_SYSTEM} {$endif IN_SYSTEM}
{ {
$Log$ $Log$
Revision 1.5 2001-06-13 18:27:14 peter Revision 1.6 2001-06-18 20:36:29 peter
* -Ur added
Revision 1.5 2001/06/13 18:27:14 peter
* missing exceptions for restoring (merged) * missing exceptions for restoring (merged)
Revision 1.4 2000/10/05 21:56:45 pierre Revision 1.4 2000/10/05 21:56:45 pierre

View File

@ -1,5 +1,5 @@
# #
# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/06] # Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/10]
# #
default: all default: all
override PATH:=$(subst \,/,$(PATH)) override PATH:=$(subst \,/,$(PATH))
@ -58,7 +58,6 @@ else
BASEDIR=. BASEDIR=.
endif endif
override OS_TARGET=linux override OS_TARGET=linux
override CPU_TARGET=i386
ifndef FPC ifndef FPC
ifdef PP ifdef PP
FPC=$(PP) FPC=$(PP)
@ -135,6 +134,13 @@ LINUXUNIT=linux
PRT0=prt0_10 PRT0=prt0_10
override FPCOPT+=-dUNIX override FPCOPT+=-dUNIX
endif endif
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph
ifndef USELIBGGI ifndef USELIBGGI

View File

@ -28,7 +28,6 @@ fpcpackage=y
[default] [default]
fpcdir=../.. fpcdir=../..
target=linux target=linux
cpu=i386
[compiler] [compiler]
includedir=$(INC) $(PROCINC) $(UNIXINC) includedir=$(INC) $(PROCINC) $(UNIXINC)
@ -64,6 +63,17 @@ PRT0=prt0_10
override FPCOPT+=-dUNIX override FPCOPT+=-dUNIX
endif endif
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
# Paths # Paths
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph

View File

@ -1,5 +1,5 @@
# #
# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/06] # Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/10]
# #
default: all default: all
override PATH:=$(subst \,/,$(PATH)) override PATH:=$(subst \,/,$(PATH))
@ -129,6 +129,13 @@ SYSTEMUNIT=system
else else
SYSTEMUNIT=sysos2 SYSTEMUNIT=sysos2
endif endif
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph
override TARGET_UNITS+=$(SYSTEMUNIT) objpas strings ports os2def doscalls moncalls kbdcalls moucalls viocalls pmbitmap pmwin pmgpi dive dos crt objects printer sysutils math typinfo varutils ucomplex cpu mmx getopts heaptrc lineinfo dynlibs video mouse keyboard override TARGET_UNITS+=$(SYSTEMUNIT) objpas strings ports os2def doscalls moncalls kbdcalls moucalls viocalls pmbitmap pmwin pmgpi dive dos crt objects printer sysutils math typinfo varutils ucomplex cpu mmx getopts heaptrc lineinfo dynlibs video mouse keyboard

View File

@ -46,6 +46,17 @@ else
SYSTEMUNIT=sysos2 SYSTEMUNIT=sysos2
endif endif
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
# Paths # Paths
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph

View File

@ -1,5 +1,5 @@
# #
# Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/06] # Don't edit, this file is generated by fpcmake v1.99.0 [2001/06/10]
# #
default: all default: all
override PATH:=$(subst \,/,$(PATH)) override PATH:=$(subst \,/,$(PATH))
@ -58,7 +58,6 @@ else
BASEDIR=. BASEDIR=.
endif endif
override OS_TARGET=win32 override OS_TARGET=win32
override CPU_TARGET=i386
ifndef FPC ifndef FPC
ifdef PP ifdef PP
FPC=$(PP) FPC=$(PP)
@ -132,6 +131,13 @@ else
SYSTEMUNIT=syswin32 SYSTEMUNIT=syswin32
PRT0=wprt0_10 PRT0=wprt0_10
endif endif
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph
include $(WININC)/makefile.inc include $(WININC)/makefile.inc

View File

@ -25,7 +25,6 @@ fpcpackage=y
[default] [default]
fpcdir=../.. fpcdir=../..
target=win32 target=win32
cpu=i386
[compiler] [compiler]
includedir=$(INC) $(PROCINC) includedir=$(INC) $(PROCINC)
@ -49,6 +48,17 @@ SYSTEMUNIT=syswin32
PRT0=wprt0_10 PRT0=wprt0_10
endif endif
# Use new feature from 1.0.5 version
# that generates release PPU files
# which will not be recompiled
ifdef RELEASE
ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
ifneq ($(findstring 1.0.4,$(FPC_VERSION)),)
override FPCOPT+=-Ur
endif
endif
endif
# Paths # Paths
OBJPASDIR=$(RTL)/objpas OBJPASDIR=$(RTL)/objpas
GRAPHDIR=$(INC)/graph GRAPHDIR=$(INC)/graph