David Given
25b6712e63
Rework all the ackbuilder scripts not to use wildcards, because we can't expand
...
them without luaposix, which isn't available (easily) on OSX or Windows.
2022-07-14 23:57:54 +02:00
David Given
698613cd7d
Turns out that the compiler needs access to the libpc headers too; refactor
...
into a separate target to avoid build loops and make it work.
2018-06-18 22:17:38 +02:00
David Given
11854f4dfe
Ansify and warning fix.
2018-06-17 22:30:27 +02:00
David Given
5784f5fabe
Run C files through clang-format.
2018-06-17 16:11:29 +02:00
David Given
9ede428e3c
Use cproto to extract all the prototypes.
2018-06-17 16:10:57 +02:00
David Given
9947e7ac63
Added a pc.h to contain libpc prototypes; some ansification.
2018-06-17 15:54:18 +02:00
David Given
d1671fc2e3
Move the private Pascal headers into libpc where they belong.
2018-06-17 15:44:33 +02:00
David Given
d623440c77
Add the core of a simple em22 platform. Unfortunately it doesn't work; the old
...
em libmon vanished decades ago (or never existed), and also ass appears to have
a different idea of what the em opcodes are to everything else and gets
confused.
2018-06-10 20:25:48 +09:00
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