pkgsrc/lang/gpc/patches/patch-ab
jtb 897399ced0 Initial import of gpc.
GNU Pascal is the free 32/64-bit Pascal compiler of the GNU Compiler
Collection (GNU CC or GCC). It combines a Pascal front-end with the
proven GCC back-end for code generation and optimization.  Unlike
utilities such as p2c, this is a true compiler, not just a converter.

The purpose of the GNU Pascal project is to produce a Pascal compiler
(called GNU Pascal or GPC) which

   * combines the clarity of Pascal with powerful tools suitable for
     real-life programming,
   * supports both the Pascal standard and the Extended Pascal standard
     as defined by ISO, ANSI and IEEE (ISO 7185:1990, ISO/IEC
     10206:1991, ANSI/IEEE 770X3.160-1989),
   * supports other Pascal standards (UCSD Pascal, Borland Pascal,
     parts of Borland Delphi and Pascal-SC) in so far as this serves the
     goal of clarity and usability,
   * may be distributed under GNU license conditions, and
   * can generate code for and run on any computer for which the GNU C
     compiler can generate code and run on.

The current release implements Standard Pascal (ISO 7185, levels 0 and
1), a large subset of Extended Pascal (ISO 10206, aiming for full
compliance), is highly compatible to Borland Pascal (version 7.0) with
some Delphi extensions, and provides a lot of useful GNU extensions.
2003-02-17 18:47:15 +00:00

21 lines
686 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2003/02/17 18:47:25 jtb Exp $
from revision 1.5 of patch-ae:
Hand edit the alpha/netbsd.h patch. -current gcc relies on a new linker script
which only differs in setting the entry point. Let this use the default
linker script for alpha but force the entry point so this will work on older
NetBSD installs for alpha.
--- ../gcc-2.95.3/gcc/config/alpha/netbsd.h.orig Sun Aug 11 19:38:42 2002
+++ ../gcc-2.95.3/gcc/config/alpha/netbsd.h
@@ -59,7 +59,8 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC
#define LINK_SPEC \
- "-m elf64alpha_nbsd \
+ "-m elf64alpha \
+ -e __start \
%{O*:-O3} %{!O*:-O1} \
%{assert*} %{R*} \
%{shared:-shared} \