Commit graph

254 commits

Author SHA1 Message Date
d0p1 🏳️‍⚧️ c4bbe52d24 Pretty working 65oo2 assembler. 2024-02-23 16:09:37 +01:00
d0p1 🏳️‍⚧️ 9a7c5579b5 65oo2 boilerplate 2024-02-22 16:13:52 +01:00
David Given 6931ffa5a4 Disable the built-in preprocessor in cemcom.ansi; the external preprocessor is
always run. Fix a bug in block skipping in the preprocessor.
2018-09-02 12:39:00 +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 4b5a7fee14 Made the cgg and the cg code generator work; use this to beat the PDP/11
backend into shape. It now generates binaries --- no idea whether they work or
not.
2018-02-23 22:31:46 +01:00
George Koehler c261e2efaf Add .pas as a Pascal suffix.
Requested by @dram in https://github.com/davidgiven/ack/issues/41
2017-10-28 11:59:35 -04:00
David Given 09c79b7dba Fix cosmetic warning when compiling B. 2017-01-15 23:00:17 +01:00
David Given 72766a02de Fix typo in the descr file which was stopping -B from working. Add B
documentation to the ack man page.
2017-01-04 13:28:40 +00:00
David Given 4e68af9781 Add a declaration for the -Bxyz module name flag, used by the B compiler.
Rename some of the Basic flags to avoid confusion.
2016-12-29 17:12:40 +00:00
David Given 4485d89b23 Hook the B compiler up to the compiler driver. 2016-11-27 20:48:07 +01:00
David Given 5bce5fc4da Change the extension used by Basic files for .b to .bas, to avoid conflicts
with B.
2016-11-27 20:38:33 +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 5bae29a00c ego now builds and is used.
This needed lots of refactoring to ego --- not all platforms have ego descr
files, and ego will just crash if you invoke it without one. I think originally
it was never intended that these platforms would be used at -O2 or above.

Plats now only specify the ego descr file if they have one.
2016-08-21 22:01:19 +02:00
David Given 92817a6ad7 Allow platforms to specify size of long double; seperate alignment from size.
--HG--
branch : dtrg-videocore
2013-05-21 19:18:11 +01:00
David Given e9233b4712 Build ego.
--HG--
branch : dtrg-buildsystem
rename : util/arch/build.mk => util/ego/build.mk
2013-05-15 21:14:06 +01:00
David Given f6c43b95ef Modula-2 now works.
--HG--
branch : dtrg-buildsystem
rename : lang/pc/build.mk => lang/m2/build.mk
rename : lang/pc/libpc/build.mk => lang/m2/comp/build.mk
rename : lang/pc/libpc/build.mk => lang/m2/libm2/build.mk
2013-05-14 22:24:38 +01:00
David Given a6ebaeabd0 Basic compiler now runs.
--HG--
branch : dtrg-buildsystem
2013-05-14 18:01:38 +01:00
David Given c1aca7dae5 First milestone of replacing the build system.
--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
2013-05-12 20:45:55 +01:00
George Koehler 0131ca4d46 Delete 689 undead files.
These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.

These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.

See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
dtrg 868b8c5075 Fixed the ego parameters to actually allow extended optimisation. 2007-04-29 21:25:09 +00:00
dtrg 400c475c03 Disabled the K&R C compiler in favour of the ANSI one. 2007-04-21 23:03:35 +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 e34b2fefba Updated to point at the ncg code generator instead of the cg one. 2006-07-20 22:37:57 +00:00
ceriel 39011a99c5 Pass -gdb on to M2 compiler 1995-12-04 15:01:07 +00:00
ceriel 71913a9d1d A68 rules from Charles Lindsey 1995-08-18 07:27:57 +00:00
ceriel 3ad37ef26b lib --> lib.bin for a68 1995-08-18 07:26:46 +00:00
ceriel 1db6a3029b Header --> Id 1994-06-24 14:02:31 +00:00
ceriel 48ab6fa908 Fixed typo 1993-11-24 13:01:08 +00:00
ceriel c791a62031 Fixed: tail_mon2 instead of tail_sys 1993-11-24 12:42:08 +00:00
ceriel d8bcd5d06c Added -s option to as (to keep stabs) 1993-10-13 13:06:49 +00:00
ceriel df61cc8c4b Added sparc_solaris 1993-10-07 09:52:41 +00:00
ceriel a6d6f5943d Added end_em 1993-10-07 09:48:06 +00:00
ceriel dd4903cc3a Added sparc_solaris description 1993-10-07 09:47:16 +00:00
ceriel 1a4c319f7e Always define __ACK when preprocessing 1993-08-05 11:09:12 +00:00
ceriel 10e6db39c6 Reversed bitfields for compatibility with (g)cc 1993-08-05 11:08:48 +00:00
ceriel 851efa7ffe Fixed error: removed space where it did not belong 1992-11-04 16:08:11 +00:00
ceriel 6b5abe7ab3 Disable multiplication optimizer when global optimizer is used 1992-08-31 16:47:40 +00:00
ceriel 6def6e1bea Corrected: end_em is in lib/m68k2, not in lib/minixST 1992-05-20 10:54:40 +00:00
ceriel 377cd17425 Improved fe 1992-04-23 13:28:28 +00:00
ceriel 276c2ec750 Added -gdb flag 1992-04-15 10:21:16 +00:00
ceriel ea2e95a627 Allow letters after the -g flag (for -gdb) 1992-03-27 17:33:19 +00:00
ceriel e00c0aa591 Added debugger library for -g 1991-12-18 09:42:04 +00:00
ceriel 16b930089a Added target optimozer 1991-12-04 14:27:11 +00:00
ceriel 4b167ab2ba Added MACHOPT_F 1991-11-20 16:07:33 +00:00
ceriel aa0b70d921 Added MACHOPT_F 1991-11-20 15:52:27 +00:00
ceriel d03d8da282 lib --> lib.bin in ego description 1991-10-25 11:31:20 +00:00
ceriel 4991f0027a Only define NULL when not defined yet 1991-10-15 09:25:44 +00:00
ceriel 57d44ec4bb Added errno.h 1991-10-14 09:05:56 +00:00
ceriel 98b019c735 Added fortran 1991-10-07 15:29:25 +00:00
ceriel 3048dc72a7 Added __sun define 1991-09-27 14:57:38 +00:00