Commit graph

60 commits

Author SHA1 Message Date
David Given c569ca15d8 Clean up how the language libraries refer to plat headers; they should be using
the +pkg forms of the rules and getting the headers via the paths in descr,
rather than depending on the +headers version.
2016-12-05 21:05:24 +01:00
David Given c084f9f224 Remove the Mark() and Release() procedures from the Pascal compiler and
standard library, because they never worked and come from an achingly old
version of the Pascal specification. Fix the implementations of New() and
Dispose() to use the standard C memory allocator rather than rolling their own
(also in C). Write test!
2016-11-24 20:35:26 +01:00
David Given f67c98e239 Distributions are a pain --- let's not bother any more. Instead, we just tag
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
David Given 612e38f1c6 Remove the old make-based build system, plus some big chunks of horribly
obsolete protomake build system.
2016-09-02 22:17:51 +02:00
David Given b549980af2 Wasn't exporting the plat headers; refactor to make this a little cleaner. 2016-08-14 11:01:36 +02:00
David Given e0b8bd221d Pascal runtime library now builds. 2016-08-13 13:07:19 +02:00
David Given 88bd7ce126 Remove defunct pmfiles.
--HG--
branch : default-branch
2016-06-03 13:56:50 +02:00
David Given 11377070fd Update distribution files.
--HG--
branch : dtrg-buildsystem
2013-05-15 23:46:15 +01:00
David Given 66aebcdd91 Pascal compiler now runs.
--HG--
branch : dtrg-buildsystem
rename : lang/basic/build.mk => lang/pc/build.mk
rename : lang/cem/cemcom.ansi/build.mk => lang/pc/comp/build.mk
rename : lang/basic/lib/build.mk => lang/pc/libpc/build.mk
2013-05-14 20:47:04 +01:00
dtrg 45ee287136 Replaced dis and new with modern implementations donated by erik@backerud.se. 2010-10-02 21:52:29 +00:00
dtrg a33473e0a5 Now call creat() and open() instead of _creat() and _open(). 2010-09-27 20:47:32 +00:00
dtrg 7f266d6b4e Removed a completely pointless 128-byte buffer. 2007-04-27 22:41:05 +00:00
dtrg 1c83baa702 Adapted for ANSI C and our pseudo-Posix syscall interface. 2007-04-21 23:18:14 +00:00
dtrg d77b4ce97c Renamed the language libraries and runtimes to have more
conventional names.
2007-02-26 22:36:56 +00:00
dtrg b611731ec3 Updated .distr files for the new release. 2007-02-25 12:51:55 +00:00
dtrg 5c5f711cbb Done a major overhaul of the way target include files are installed and
how platform libraries are built. The ARCH pm variable has now been
renamed PLATFORM (which is more accurate) and a different ARCH
variable added, which represents the CPU family rather than the
hardware platform.
2007-02-20 00:46:10 +00:00
dtrg dbe10d2c19 Updated to the version 0.1 of Prime Mover (which involves some syntax changes). 2006-10-15 00:28:12 +00:00
dtrg 708a83ef22 ack expects the tail_ libraries not to have the .a extension. 2006-07-30 23:45:48 +00:00
dtrg 5a8968ae4f Added support for the Pascal language runtime. 2006-07-27 22:07:38 +00:00
dtrg 9bc8c07deb Replaced references to /usr/tmp with references to /tmp. 2005-06-24 22:08:47 +00:00
ceriel e10145ba2e exit with erno+1, because otherwise exit status is 0 with array bound error 1994-11-14 11:51:24 +00:00
ceriel 1db6a3029b Header --> Id 1994-06-24 14:02:31 +00:00
ceriel cae8164263 Added _dvi and _dvil 1991-09-25 09:14:08 +00:00
ceriel fbf6efa8fd Fix: used wrong name 1991-09-17 16:38:16 +00:00
ceriel e8ff85905f ptr_diff is a long in ANSI C; cast to int 1991-04-23 09:35:51 +00:00
ceriel a9aa131d8c fixed typo 1991-03-20 13:47:18 +00:00
ceriel d32109c18d Several fixes 1991-03-20 11:30:35 +00:00
ceriel 2684a45cc5 do not write in strings: they could reside in ROM 1991-03-19 11:14:39 +00:00
ceriel 3e0eb5d58a Detect too large values 1991-03-19 10:25:36 +00:00
ceriel b893ec7013 m_a_i_n --> _m_a_i_n 1991-03-06 14:26:16 +00:00
ceriel 1118da779b Use _ versions of system-calls 1991-02-22 16:57:42 +00:00
ceriel d16c25fc80 prevent sign-extension in unpack when needed 1991-02-19 12:13:08 +00:00
ceriel f0fe57f807 Added Copyright notice 1990-11-06 13:16:57 +00:00
ceriel f192338596 Made compilable with ANSI C compiler 1990-11-06 13:02:55 +00:00
ceriel 52a8f7d1f1 needed ldexp routine for exp.c 1989-07-19 14:51:19 +00:00
ceriel 761312d0dd use new math algorithms 1989-06-19 16:22:23 +00:00
ceriel d62d0c68ee not include em_path.h anymore 1989-05-08 12:39:33 +00:00
ceriel 19638876a1 Adapted for new Pascal Compiler 1989-05-03 09:53:25 +00:00
ceriel 4d5f61ce45 fixed clock for larger word sizes 1989-04-07 09:20:06 +00:00
ceriel b1712321e2 made easier to patch 1988-08-19 13:26:27 +00:00
ceriel d7d16cbede use new ecvt.c from C library 1988-08-10 11:21:40 +00:00
ceriel e98a670850 fixed typo 1988-07-25 12:30:52 +00:00
ceriel c9f8962fc8 mod to remove declarations in math.h 1988-07-25 11:40:57 +00:00
ceriel 324c95ae62 replaced mathematical routines by our own 1988-07-25 11:26:26 +00:00
ceriel da872ef789 assert macro has one parameter 1988-04-19 09:57:44 +00:00
ceriel 750c838141 forgot to pop old handler 1988-03-15 17:37:19 +00:00
ceriel 9eaf539e98 string compare must be on unsigned chars 1987-05-19 08:51:48 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel b46981f4ce converted to 4-4 1987-03-31 10:58:30 +00:00
ceriel 2fba4e5e99 made more portable 1987-03-31 10:05:26 +00:00