소스 검색

+ updates

peter 27 년 전
부모
커밋
dbe21324d5
6개의 변경된 파일451개의 추가작업 그리고 15개의 파일을 삭제
  1. 180 0
      install/Makefile
  2. 20 6
      install/install.dos
  3. 28 1
      install/install.pas
  4. 22 8
      install/install.w32
  5. 136 0
      install/readme.txt
  6. 65 0
      install/whatsnew.txt

+ 180 - 0
install/Makefile

@@ -0,0 +1,180 @@
+#
+#   $Id$
+#   This file is part of the Free Pascal run time library.
+#   Copyright (c) 1996-98 by Michael van Canneyt
+#
+#   Makefile for the Free Pascal Installation Helpers
+#
+#   See the file COPYING.FPC, included in this distribution,
+#   for details about the copyright.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+
+##########################################################################
+# Config
+##########################################################################
+
+# Test dir if none specified
+ifndef BASEINSTALLDIR
+BASEINSTALLDIR=/pptest
+endif
+
+# TPC
+TPC=otpc
+
+# Use UPX ?
+UPX=upx
+
+# Zip
+ZIP=zip -D9 -r
+
+
+##########################################################################
+# Defaults
+##########################################################################
+
+# Directory to the base of the CVS tree
+CVSBASE=..
+CFG=$(CVSBASE)/rtl/cfg
+
+# Temporary path to pack a file
+PACKDIR=$(subst \,/,$(TMP))/pp_tmp
+
+# Use new ppc386
+PPNEW=$(BASEDIR)/$(CVSBASE)/compiler/ppc386.exe
+
+
+##########################################################################
+# Include default makefile
+##########################################################################
+
+include $(CFG)/makefile.cfg
+
+# Test dir if none specified
+ifndef PACKAGEDIR
+PACKAGEDIR=$(BASEDIR)
+endif
+
+
+##########################################################################
+# Default target
+##########################################################################
+
+.PHONY: all basego32 basew32
+
+all:
+	@echo
+	@echo Possible targets are:
+	@echo
+	@echo basego32, basego32.zip
+	@echo basew32,	basew32.zip
+	@echo
+	@exit
+
+clean:
+	-$(DEL) *.tpu install.exe install.dat
+
+##########################################################################
+# Install
+##########################################################################
+
+install.exe: install.pas
+	$(TPC) install.pas
+ifdef UPX
+	-$(UPX) install.exe
+endif
+
+installgo32: install.exe
+	$(MKDIR) $(PACKAGEDIR)
+	$(COPY) install.dos install.dat
+	$(COPY) install.exe install.dat $(PACKAGEDIR)
+	$(COPY) readme.txt whatsnew.txt $(PACKAGEDIR)
+
+installw32: install.exe
+	$(MKDIR) $(PACKAGEDIR)
+	$(COPY) install.w32 install.dat
+	$(COPY) install.exe install.dat $(PACKAGEDIR)
+	$(COPY) readme.txt whatsnew.txt $(PACKAGEDIR)
+
+
+##########################################################################
+# Basego32.zip
+##########################################################################
+
+basego32:
+# readme.txt & whatsnew.txt
+	$(MKDIR) $(BASEINSTALLDIR)
+	$(COPY) readme.txt whatsnew.txt $(BASEINSTALLDIR)
+# docs
+	$(MKDIR) $(DOCINSTALLDIR)
+	$(COPY) doc/* $(DOCINSTALLDIR)
+# bingo32 (cwsdpmi,wmemu387.dxe)
+	$(MKDIR) $(BININSTALLDIR)
+	$(COPY) bingo32/* $(BININSTALLDIR)
+# compiler
+	make -C $(CVSBASE)/compiler cycle OS_TARGET=go32v2 RELEASE=1
+	make -C $(CVSBASE)/compiler install OS_TARGET=go32v2
+# rtl go32v2
+	make -C $(CVSBASE)/rtl/dos/go32v2 clean OS_TARGET=go32v2
+	make -C $(CVSBASE)/rtl/dos/go32v2 install OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
+# rtl go32v2 libs
+	make -C $(CVSBASE)/rtl/dos/go32v2 clean OS_TARGET=go32v2
+	make -C $(CVSBASE)/rtl/dos/go32v2 libinstall OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
+# utils
+	make -C $(CVSBASE)/rtl/utils clean OS_TARGET=go32v2
+	make -C $(CVSBASE)/rtl/utils install OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
+ifdef UPX
+	-$(UPX) $(BININSTALLDIR)/*.exe
+endif
+
+basego32.zip:
+	make basego32 BASEINSTALLDIR=$(PACKDIR)
+	cd $(PACKDIR)
+	$(ZIP) $(PACKAGEDIR)/basego32.zip *
+	cd $(BASEDIR)
+	$(DELTREE) $(PACKDIR)
+
+
+##########################################################################
+# basew32.zip
+##########################################################################
+
+basew32:
+# readme.txt & whatsnew.txt
+	$(MKDIR) $(BASEINSTALLDIR)
+	$(COPY) readme.txt whatsnew.txt $(BASEINSTALLDIR)
+# docs
+	$(MKDIR) $(DOCINSTALLDIR)
+	$(COPY) doc/* $(DOCINSTALLDIR)
+# compiler, the - is necessary because the files sometimes differ
+	-make -C $(CVSBASE)/compiler cycle OS_TARGET=win32 RELEASE=1
+	make -C $(CVSBASE)/compiler install OS_TARGET=win32
+# rtl
+	make -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32
+	make -C $(CVSBASE)/rtl/win32 install OS_TARGET=win32 RELEASE=1 PP=$(PPNEW)
+# rtl libs
+	make -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32
+	make -C $(CVSBASE)/rtl/win32 libinstall OS_TARGET=win32 RELEASE=1 PP=$(PPNEW)
+# utils
+	make -C $(CVSBASE)/rtl/utils clean OS_TARGET=win32
+	make -C $(CVSBASE)/rtl/utils install OS_TARGET=win32 RELEASE=1 PP=$(PPNEW)
+
+basew32.zip:
+	make basew32 BASEINSTALLDIR=$(PACKDIR)
+	$(MKDIR) $(PACKAGEDIR)
+# Maybe you need 4dos for it, becuase unix paths with / are used
+	cd $(PACKDIR)
+	$(ZIP) $(PACKAGEDIR)/basew32.zip *
+	cd $(BASEDIR)
+	$(DELTREE) $(PACKDIR)
+
+
+#
+# $Log$
+# Revision 1.1  1998-09-16 16:46:36  peter
+#   + updates
+#
+#

+ 20 - 6
install/install.dos

@@ -1,11 +1,13 @@
 #
+# $Id$
+#
 # Go32 Install file
 #
 title=Free Pascal Compiler for Go32v2
 version=0.99.8
 
 basepath=c:\pp
-binsub=\bin
+binsub=\bin\go32v2
 ppc386=ppc386
 
 package=basego32.zip,~B~asic system for Go32v2 (required)
@@ -13,8 +15,8 @@ package=asldgo32.zip,GNU ~L~inker and GNU Assembler for Go32v2 (required)
 package=gdbgo32.zip,GNU ~D~ebugger for Go32v2
 package=gnuutils.zip,GNU ~U~tilities (required to recompile run time library)
 package=demo.zip,D~e~mos
-package=docs.zip,Documentation (~H~TML)
-package=doc110ps.zip,Documentation (~P~ostscript)
+package=docs-htm.zip,Documentation (~H~TML)
+package=docs-ps.zip,Documentation (~P~ostscript)
 package=rl0998s.zip,~R~un time library sources
 package=pp0998s.zip,~C~ompiler sources
 package=doc110s.zip,Documentation sources (La~T~eX)
@@ -139,13 +141,25 @@ defaultcfg=
 
 # searchpath for units (does the same as -Up)
 #IFDEF Go32V1
-  -Fu$1/rtl/dos/go32v1
+  #IFDEF FPC_LINK_STATIC
+    -Fu$1/rtl/go32v1/static
+  #ELSE
+    -Fu$1/rtl/go32v1
+  #ENDIF
 #ENDIF
 #IFDEF Go32V2
-  -Fu$1/rtl/dos/go32v2
+  #IFDEF FPC_LINK_STATIC
+    -Fu$1/rtl/go32v2/static
+  #ELSE
+    -Fu$1/rtl/go32v2
+  #ENDIF
 #ENDIF
 #IFDEF Win32
-  -Fu$1/rtl/dos/win32
+  #IFDEF FPC_LINK_STATIC
+    -Fu$1/rtl/win32/static
+  #ELSE
+    -Fu$1/rtl/win32
+  #ENDIF
 #ENDIF
 
 # searchpath for libraries

+ 28 - 1
install/install.pas

@@ -211,6 +211,30 @@ program install;
       line : longint;
       item,
       s    : string;
+
+{$ifndef FPC}
+      procedure readln(var t:text;var s:string);
+      var
+        c : char;
+        i : longint;
+      begin
+        c:=#0;
+        i:=0;
+        while (not eof(t)) and (c<>#10) do
+         begin
+           read(t,c);
+           if c<>#10 then
+            begin
+              inc(i);
+              s[i]:=c;
+            end;
+         end;
+        if (i>0) and (s[i]=#13) then
+         dec(i);
+        s[0]:=chr(i);
+      end;
+{$endif}
+
     begin
       assign(t,fn);
       {$I-}
@@ -541,7 +565,10 @@ begin
 end.
 {
   $Log$
-  Revision 1.6  1998-09-15 13:11:14  pierre
+  Revision 1.7  1998-09-16 16:46:37  peter
+    + updates
+
+  Revision 1.6  1998/09/15 13:11:14  pierre
   small fix to cleanup if no package
 
   Revision 1.5  1998/09/15 12:06:06  peter

+ 22 - 8
install/install.w32

@@ -1,20 +1,22 @@
 #
+# $Id$
+#
 # Win32 Install file
 #
 title=Free Pascal Compiler for Win32
 version=0.99.8
 
-basepath=c:\ppw
-binsub=\bin
-ppc386=ppw
+basepath=c:\pp
+binsub=\bin\win32
+ppc386=ppc386
 
 package=basew32.zip,~B~asic system for Win32 (required)
 package=asldw32.zip,GNU ~L~inker and GNU Assembler for Win32 (required)
 package=gdbw32.zip,GNU ~D~ebugger for Win32
 package=gnuutils.zip,GNU ~U~tilities (required to recompile run time library)
 package=demo.zip,D~e~mos
-package=docs.zip,Documentation (~H~TML)
-package=doc110ps.zip,Documentation (~P~ostscript)
+package=docs-htm.zip,Documentation (~H~TML)
+package=docs-ps.zip,Documentation (~P~ostscript)
 package=rl0998s.zip,~R~un time library sources
 package=pp0998s.zip,~C~ompiler sources
 package=doc110s.zip,Documentation sources (La~T~eX)
@@ -139,13 +141,25 @@ defaultcfg=
 
 # searchpath for units (does the same as -Up)
 #IFDEF Go32V1
-  -Fu$1/rtl/dos/go32v1
+  #IFDEF FPC_LINK_STATIC
+    -Fu$1/rtl/go32v1/static
+  #ELSE
+    -Fu$1/rtl/go32v1
+  #ENDIF
 #ENDIF
 #IFDEF Go32V2
-  -Fu$1/rtl/dos/go32v2
+  #IFDEF FPC_LINK_STATIC
+    -Fu$1/rtl/go32v2/static
+  #ELSE
+    -Fu$1/rtl/go32v2
+  #ENDIF
 #ENDIF
 #IFDEF Win32
-  -Fu$1/rtl/dos/win32
+  #IFDEF FPC_LINK_STATIC
+    -Fu$1/rtl/win32/static
+  #ELSE
+    -Fu$1/rtl/win32
+  #ENDIF
 #ENDIF
 
 # searchpath for libraries

+ 136 - 0
install/readme.txt

@@ -0,0 +1,136 @@
+
+                            Free Pascal Compiler
+
+                               Version 0.99.8
+
+
+****************************************************************************
+* Intro
+****************************************************************************
+
+This package contains a freeware pascal compiler for 386+. The language
+and the runtime library are less or more compatible to TP 7.0. Some Delphi
+additions have also been implemented like exceptions and rtti.
+
+
+****************************************************************************
+* Requirements
+****************************************************************************
+
+386 processor
+DOS:
+ - DOS 3.3
+ - 640 kB RAM
+ - hard disk with 8 MB free space
+ - 4mb of memory (8+ MB recommended)
+ - DMPI server (CWSDPMI is delivered in the go32v2 distro)
+Win32:
+ - Win95 or WinNT
+ - 8mb of memory (16+ MB recommended)
+
+
+****************************************************************************
+The current version is only an evaluation version.
+****************************************************************************
+
+Quick start
+-----------
+Download dos09908.zip and unzip it into a temporary directory.
+
+Start the install program INSTALL.EXE and follow the instructions.
+
+Don't forget to set the path as mentioned by the install program.
+
+To test the compiler, change to the demo directory of the compiler
+and type
+        ppc386 hello
+        hello
+
+
+****************************************************************************
+* The packages of the distribution
+****************************************************************************
+
+All standard packages contain a part that is specific for the target platform
+and a few files which are target independent. All files are also available
+as separate files to reduce file size if the default file is too big.
+
+dos09908.zip specific:
+----------------------
+  basego32.zip    contains a DOS (Go32V2) compiler, run time library and
+                  additional files.
+  asldgo32.zip    contains additional GNU utilities which are necessary:
+      AS 2.8.1 for Go32V2
+      LD 2.8.1 for Go32V2
+      AR 2.8.1 for Go32V2
+      Strip 2.8.1 for Go32V2
+  gdbgo32.zip     contains the GNU Debugger 4.16 for Go32V2
+
+w3209908.zip specific:
+----------------------
+  basew32.zip     contains a Win32 compiler, run time library and
+                  additional files.
+  asldw32.zip     contains additional GNU utilities from MinGW32 which are
+                  necessary:
+      AS 980119 for Win32
+      LD 980119 for Win32
+      AR 980119 for Win32
+      Strip 980119 for Win32
+  gdbw32.zip      contains the GNU Debugger 4.16.1 for Win32
+
+common files in dos09908.zip and w3209908.zip:
+----------------------------------------------
+  gnuutils.zip    contains additional GNU utilities which are neccessary to
+                  compile the run time library:
+      Make 3.76.1
+      RM 3.16
+      CP 3.16
+      MV 3.16
+      PWD 3.16
+      GInstall 3.16
+  demo.zip        contains some demo files
+  docs-htm.zip    contains the documentatio in HTML format
+  docs-ps.zip     contains the documentaion in post script
+  install.exe     installation program
+  install.dat     installation data
+  readme.txt      this readme file
+  whatsnew.txt    what's been changed
+
+Optional source package src09908.zip:
+-------------------------------------
+  pp09908s.zip    contains the compiler sources
+  rl09908s.zip    contains the run time library sources
+  doc110s.zip     contains the TeX sources of the doc
+
+
+****************************************************************************
+* Documentation
+****************************************************************************
+
+The documentations are available as HTML pages.
+The documentation "home page" is doc\fpctoc.htm (FPC Table Of Contents).
+
+The documentation as post script is available at the ftp server.
+
+
+****************************************************************************
+* Suggestions, Help, Bugs ...
+****************************************************************************
+
+Suggestions, Help ...
+---------------------
+EMail: [email protected]
+WWW: http://tfdec1.fys.kuleuven.ac.be/~michael/fpc/
+Additional informations about mailing lists etc. can be found on the
+web site.
+
+
+****************************************************************************
+* License
+****************************************************************************
+
+The programs and sources come under the GPL, for more informations read
+the file COPYING. Additional informations about the runtime library license
+are found in COPYING.FPC. Some utilities and programs come under the license
+described in COPYING.DJ
+

+ 65 - 0
install/whatsnew.txt

@@ -0,0 +1,65 @@
+
+                            Free Pascal Compiler
+
+                               Version 0.99.8
+
+
+******************************************************************************
+                            Whats New in 0.99.8
+******************************************************************************
+
+Compiler:
+  + smartlinking support (-Cx)
+  + new ppu format which much more portable en extendible
+  + new scanner with better file position info
+  + constant evaluation like tp7 (trunc,round,hi,swap)
+  + rtti support
+  + exception support
+  + longbool,wordbool support
+  + enumerated packing support like delphi
+  + c variable support (-Sv)
+  + Win32 support (no export and resource support yet)
+  * optimizer switches changed to be easier to use
+  * lot of fixes for sets, also supporting dynamic creation
+  * working open array (sizeof,high)
+  * better filename handling for all platforms
+  * ability to list source lines in the assembler file
+  * some error messages changed to for better understanding
+  * better calling convention support, delphi compatible
+  * glibc2 (linux) support
+  * too many other small bugfixes and internal enhancements
+
+RTL:
+  + sysutils unit for objpas
+  + port[] array for go32v2
+  + graph unit for linux
+  + uniform objects unit for all platforms
+  + rtti support
+  + automatic Longfilename (LFN) support for go32v2
+  * go32 crt startup delay has been removed
+  * missing pchar support for some file functions (assign,rename)
+  * heapblocks support, which is much faster when allocating a lot
+    of small blocks (like objects)
+  * filerec/textrec is now uniform for all platforms (but not tp7 compatible)
+  * extended is the default floating point type
+  * lot of other fixes and small enhancements
+
+Utils:
+  + h2pas util to convert .h files to .pas file
+  + ppudump util replaces the old dumpppu
+  * mkdep is now much less strict and (* *) support
+
+
+******************************************************************************
+                            Whats New in 0.99.5
+******************************************************************************
+
+Mainly, bugs are fixed and some improvements are
+made in that release, besides that the following stuff is
+added:
+ * compiler
+   - mem[] and absolute works now as expected (go32v2 target only)
+   - basic MMX support by the compiler (see docs for more infos)
+ * runtime library
+   - better support of floating point types
+