Commit graph

76 commits

Author SHA1 Message Date
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
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
ceriel 39011a99c5 Pass -gdb on to M2 compiler 1995-12-04 15:01:07 +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 1a4c319f7e Always define __ACK when preprocessing 1993-08-05 11:09:12 +00:00
ceriel 6b5abe7ab3 Disable multiplication optimizer when global optimizer is used 1992-08-31 16:47:40 +00:00
ceriel 377cd17425 Improved fe 1992-04-23 13:28:28 +00:00
ceriel ea2e95a627 Allow letters after the -g flag (for -gdb) 1992-03-27 17:33:19 +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 98b019c735 Added fortran 1991-10-07 15:29:25 +00:00
ceriel 7559fbb966 lib --> lib.bin for programs 1991-09-04 17:56:11 +00:00
ceriel 6d86200992 renamed fe 1991-08-21 11:38:52 +00:00
ceriel bdad94b18c New global optimizer driver 1991-06-26 17:36:59 +00:00
ceriel d99b166621 Added -ansi flag for ANSI C compiler 1990-11-21 16:51:49 +00:00
ceriel 8de3973836 Pass -g to cemcom 1990-10-01 15:42:10 +00:00
ceriel b32921d7ed pass -g flag to Modula-2 compiler 1990-08-01 14:46:07 +00:00
ceriel 05d0caaaea do not generate line number/file name information by default for C 1990-06-06 17:04:46 +00:00
ceriel f27e9ca63e Added #defines for _EM_?SIZE 1990-03-28 17:14:35 +00:00
ceriel 9ef6cf575b formatted a bit 1989-10-12 16:57:37 +00:00
ceriel 74bc0442bd Added some flags 1989-06-09 15:07:54 +00:00
ceriel b7a6b75155 new pascal compiler 1989-04-18 13:34:50 +00:00
ceriel 683c162cff New method of calling optimizer; Added Algol68S 1989-02-09 13:46:32 +00:00
ceriel 9aedda4643 distribute fe.src 1988-07-26 19:06:35 +00:00
ceriel d67c9ce97f pass some size flags to basic compiler 1988-07-13 18:04:01 +00:00
ceriel 84578cbd91 fixed, new basic compiler, new flag for EGO 1988-07-04 13:39:15 +00:00
ceriel 3dd878594f Add option to global optimizer, to indicate that it is offered the
whole program
1988-06-16 09:59:25 +00:00
ceriel 2cd29242ae deleted int 1988-04-29 11:00:40 +00:00
ceriel 3df72f4136 Also allow .def files; compiler will give error message 1988-04-11 12:45:45 +00:00
ceriel c550150071 pass -i flag to modula-2 compiler, via -Xi 1987-07-22 13:30:06 +00:00
ceriel 1ae2bd256e map -Xs flag to -s for modula-2 compiler 1987-06-23 17:15:56 +00:00
ceriel 479d45d2d9 Added modula, -L was passed twice to peephole optimizer 1987-05-20 14:51:02 +00:00
ceriel d1e9f4e811 tell modula-2 compiler about the word-size! 1987-05-14 11:33:24 +00:00