494d9a3e4a
Now runs descr files through the ANSI C preprocessor, rather than the K&R one (which no longer exists).
dtrg
2007-04-29 21:23:55 +00:00
6127ddf024
Fixed the trap code to write out the error message correctly.
dtrg
2007-04-29 20:47:48 +00:00
9d0f0a8fdd
Disabled the code to throw signals on EM traps; this is the platform's job (and requires working signal support, which we may not have).
dtrg
2007-04-29 20:46:48 +00:00
c9d7f7ef23
Added suppot for BSS clearing and command line parsing.
dtrg
2007-04-29 00:28:06 +00:00
bfeb736c35
Stripped down the library to something approaching the ANSI C minimum and replaced most of the header files, to provide a reasonably consistent base to work up from.
dtrg
2007-04-24 19:42:24 +00:00
740940c9fc
Fixed major typos in the signal declarations that was preventing anything that used signal() from compiling.
dtrg
2007-04-24 19:34:34 +00:00
f6085fb234
Updated use of headers to compile cleanly.
dtrg
2007-04-24 19:33:53 +00:00
b8e1348f2a
Ensured that _errno is always defined. Rejigged the pc86 boot code so it doesn't always waste 510 bytes of memory.
dtrg
2007-04-24 19:25:00 +00:00
413880c52d
Added support for the linux386 platform. Disabled building of the K&R C, Basic and Occam compilers.
dtrg
2007-04-23 23:41:50 +00:00
ae9ac25f45
Modified to run ncgg input files through the ANSI preprocessor rather than the K&R one.
dtrg
2007-04-23 23:40:59 +00:00
f471d2e618
Added the aelflod tool for generating ELF executables. Added documentation for aelflod and ashow. Now installs the documentation when built.
dtrg
2007-04-23 23:40:10 +00:00
67c4f3de87
Modified to allow a space between the sign and the first digit of a constant.
dtrg
2007-04-23 23:24:46 +00:00
9b920e59cb
Now fetches argc, argv, env correctly from the host OS.
dtrg
2007-04-23 23:24:03 +00:00
9710c14c93
Added the 'Star Trek' example game.
dtrg
2007-04-21 23:20:11 +00:00
921c55968c
Adapted to tell the user what language they were written in (because they're too similar!). Modified the Pascal implementation to work with our new syscall model.
dtrg
2007-04-21 23:19:32 +00:00
1c83baa702
Adapted for ANSI C and our pseudo-Posix syscall interface.
dtrg
2007-04-21 23:18:14 +00:00
b66d66b597
Fixed a bug where the preprocessor would occasionally lose whitespace at the beginning of lines immediately after a #endif, which was confusing the assembler.
dtrg
2007-04-21 23:10:13 +00:00
2a367fa192
Disabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway.
dtrg
2007-04-21 23:07:57 +00:00
f4e37e1319
Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls.
dtrg
2007-04-21 23:07:05 +00:00
400c475c03
Disabled the K&R C compiler in favour of the ANSI one.
dtrg
2007-04-21 23:03:35 +00:00
f6a41864cf
Moved to /h.
dtrg
2007-02-25 12:45:24 +00:00
f05f9de3ed
Moved sys/timeb.h from include/_tail_mon.
dtrg
2007-02-25 12:44:13 +00:00
877dc01422
Moved from /etc.
dtrg
2007-02-25 12:42:04 +00:00
880e3eade8
Updated to version 0.1.1 of Prime Mover.
dtrg
2007-02-25 12:39:52 +00:00
681e2e0432
Added example programs.
dtrg
2007-02-25 00:30:07 +00:00
d2c505ad6b
Removed some bashish; added comment support; removed the make distr functionality, as nothing was using it any more and it was causing problems.
dtrg
2007-02-24 02:05:56 +00:00
26a9b76507
Added pregenerated versions of the LLgen source files (to ease bootstrapping issues).
dtrg
2007-02-24 02:01:57 +00:00
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.
dtrg
2007-02-20 00:46:10 +00:00
809cd2ef0b
Added a definition of endrom.
dtrg
2007-02-20 00:42:23 +00:00
5165f0b11f
Added some comments and a CVS header.
dtrg
2007-02-20 00:41:26 +00:00
39689a4de9
Tweaked to allow _ as a leading character in identifier names (if use of underscores in identifiers has been turned on).
dtrg
2007-02-20 00:40:00 +00:00
e4292486a3
Added some missing #includes.
dtrg
2007-02-20 00:38:49 +00:00
08431edbdb
Now uses fd 0 instead of trying to explicitly open /dev/tty.
dtrg
2007-02-20 00:38:13 +00:00
611bc73043
Changed to no longer include /usr/include by default.
dtrg
2007-02-20 00:36:15 +00:00
f9ddb860a9
Fixed some reentrant comments.
dtrg
2007-02-20 00:35:37 +00:00
94a7b315e3
Changed the 'preprocess' rule to use the system C preprocessor.
dtrg
2007-02-20 00:32:58 +00:00
c40a44b52e
Added some missing CVS headers and did a bit of cleaning up.
dtrg
2007-02-20 00:31:54 +00:00
478d0b1d8a
Fixed a compilation error that was causing opt to not have its peephole optimisation tables, which would make it generate duff code.
dtrg
2007-02-20 00:27:01 +00:00
df153ba299
Added 8086 PC bootable floppy support (pc86).
dtrg
2007-02-20 00:25:12 +00:00
1c7bb87041
Fixed a bug in the maximum segment calculation.
dtrg
2006-11-11 23:00:55 +00:00
c21ba9ed0f
Updated to work with the new version of pm.
dtrg
2006-11-11 22:59:52 +00:00
02a2876821
Now uses the version of LLgen included with the ACK instead of the standalone version.
dtrg
2006-11-11 22:59:01 +00:00
30b980bf7e
Added a pmfile to allow LLgen to be built as part of the ACK again.
dtrg
2006-11-11 22:58:30 +00:00
c0ecde554a
Added support for anm, asize, ashow, astrip and the new aslod tool.
dtrg
2006-10-16 23:25:56 +00:00
47e1c27c05
Added new aslod tool for making memory dumps.
dtrg
2006-10-16 23:25:27 +00:00
12683dd8c6
Sanitised the use of #include files to more properly conform to the standards.
dtrg
2006-10-16 23:20:11 +00:00
dbe10d2c19
Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
dtrg
2006-10-15 00:28:12 +00:00
708a83ef22
ack expects the tail_ libraries not to have the .a extension.
dtrg
2006-07-30 23:45:48 +00:00
1e4ca91a8b
Modified to install aal's manpage.
dtrg
2006-07-30 23:45:35 +00:00
606012371e
Added support for the ANSI C language runtime and preprocessor.
dtrg
2006-07-30 23:45:18 +00:00
1efe7422d3
Added rules for building things with the ack itself.
dtrg
2006-07-30 23:44:57 +00:00
9bcefaafa8
Broke dependency on tool_cpp in order to speed up the build.
dtrg
2006-07-30 23:41:16 +00:00
45b4fef7d6
Rationalised use of #includes to be more standards-compliant.
dtrg
2006-07-30 23:40:35 +00:00
d3b557e0db
Adjusted to only check the module name against the leaf of the filename, to prevent unnecessary warnings if the source file isn't in the current directory.
dtrg
2006-07-30 23:38:41 +00:00
67733b9d3c
Added the correct shell script magic. (Some platforms insist on this.)
dtrg
2006-07-30 23:37:15 +00:00
c1725577a7
Worked around a mysterious preprocessor oddness causing some crucial whitespace to be removed.
dtrg
2006-07-30 23:36:19 +00:00
e6f856e795
Updated to the latest version of pm.
dtrg
2006-07-30 23:33:31 +00:00
7826e03427
Added support for the K&R C language runtime.
dtrg
2006-07-27 22:51:38 +00:00
c5acfe7919
Added support for the Modula-2 language runtime.
dtrg
2006-07-27 22:14:55 +00:00
5a8968ae4f
Added support for the Pascal language runtime.
dtrg
2006-07-27 22:07:38 +00:00
f3a9a3bc40
Added support for the Basic and Occam language runtimes.
dtrg
2006-07-27 21:58:13 +00:00
d29b1ef7d0
Added support for the Basic compiler.
dtrg
2006-07-26 23:08:09 +00:00
1caa63775f
Rationalised use of #includes to be more standards-compliant.
dtrg
2006-07-26 23:06:56 +00:00
4c65324e11
Adjusted to allow the path of the Lpars.h file to be given on the command line.
dtrg
2006-07-26 23:05:52 +00:00
e5e66bf27d
Updated to the latest version of pm.
dtrg
2006-07-26 18:24:16 +00:00
2cfb9afac8
Added support for the Occam compiler.
dtrg
2006-07-26 18:23:32 +00:00
30e34f493f
Rationalised use of #includes to be more standards-compliant.
dtrg
2006-07-26 18:22:02 +00:00
4fd0f0dba4
Renamed em.h to occam-em.h to avoid a clash with an ACK module header file.
dtrg
2006-07-26 18:20:38 +00:00