Commit Graph
100 Commits
Author SHA1 Message Date
dtrg d48c81664f 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. 2007-04-21 23:19:32 +00:00
dtrg f33fd63590 Adapted for ANSI C and our pseudo-Posix syscall interface. 2007-04-21 23:18:14 +00:00
dtrg 078faadbf9 Fixed a bug where the preprocessor would occasionally lose whitespace at the beginning of lines immediately after a #endif, which was confusing the assembler. 2007-04-21 23:10:13 +00:00
dtrg f5d41474da Disabled Terminal as it uses hard-coded ioctls and appears to be non-standard anyway. 2007-04-21 23:07:57 +00:00
dtrg 0e349f88a6 Changed to call the isatty() syscall directly, rather than fiddling around with non-portable ioctls. 2007-04-21 23:07:05 +00:00
dtrg 43857acb0b Disabled the K&R C compiler in favour of the ANSI one. 2007-04-21 23:03:35 +00:00
dtrg 3756b414de Added linux386 platform. 2007-04-21 23:02:11 +00:00
dtrg 42c2cdb985 Updated to work with the new libmon-less setup. 2007-04-21 22:59:42 +00:00
dtrg 1a19c3ffec Updated to work with the linux386 platform. 2007-04-21 22:57:51 +00:00
dtrg cc57ec1e11 yacc source files are now run through the ANSI C preprocessor, not the K&R one. 2007-04-21 22:55:59 +00:00
dtrg 892a545b10 Everything is built in ANSI C now. 2007-04-21 22:55:04 +00:00
dtrg a5c9e8b09c Renamed the language libraries and runtimes to have more
conventional names.
2007-02-26 22:36:56 +00:00
cvs2hg fd5b9e1450 fixup commit for tag 'release-6-0-pre-1' 2007-02-25 22:49:23 +00:00
dtrg 173ca7d5d7 Removed a dynamically generated file from the distribution. 2007-02-25 22:49:22 +00:00
dtrg e85ebeeab0 Added some OpenBSD-related comments. 2007-02-25 22:09:15 +00:00
dtrg 002c49ec2b Applied a patch to support OpenBSD. 2007-02-25 22:07:11 +00:00
dtrg 583c2df92a Replaced the call to posix.setenv() with the more portable
posix.putenv().
2007-02-25 20:59:21 +00:00
dtrg f07522680d Removed some explicit (and wrong) redeclarations of system
functions.
2007-02-25 20:58:16 +00:00
dtrg 913bf332f3 Performed major renovations to make the script work on OpenBSD. 2007-02-25 20:56:41 +00:00
dtrg 2ac12e3015 em_table is now in /h; new_table is now in util/data. 2007-02-25 12:58:41 +00:00
dtrg c74f9cc2e9 Updated for the new release. 2007-02-25 12:53:55 +00:00
dtrg 594e84da95 Added the ability to install a built ACK, and did some general
tidying.
2007-02-25 12:53:17 +00:00
dtrg 5da1922c4f Adjusted some of the default parameters and their names. 2007-02-25 12:52:32 +00:00
dtrg c5e7c60c76 Updated .distr files for the new release. 2007-02-25 12:51:55 +00:00
dtrg 19df20b027 em_table is now in /h, not /etc. 2007-02-25 12:51:21 +00:00
dtrg aacc645329 new_table is now in /util/data, not /etc. 2007-02-25 12:49:04 +00:00
dtrg b48e18fbd9 Now installs the man page. 2007-02-25 12:48:06 +00:00
dtrg 6a00063b18 Remove non-standard .SB tags. 2007-02-25 12:47:50 +00:00
dtrg 2b20613b72 Added shell magic. 2007-02-25 12:46:11 +00:00
dtrg 81b31c3a1c Moved to /h. 2007-02-25 12:45:24 +00:00
dtrg 99c81620c7 Moved sys/timeb.h from include/_tail_mon. 2007-02-25 12:44:13 +00:00
dtrg 2a1b5444b2 Moved from /etc. 2007-02-25 12:42:04 +00:00
dtrg 96db4093b3 Updated to version 0.1.1 of Prime Mover. 2007-02-25 12:39:52 +00:00
dtrg 58ca908043 Added example programs. 2007-02-25 00:30:07 +00:00
dtrg 84aabce8f7 Removed some bashish; added comment support; removed the make
distr functionality, as nothing was using it any more and it was
causing problems.
2007-02-24 02:05:56 +00:00
dtrg 2ec25a4f86 Added pregenerated versions of the LLgen source files (to ease
bootstrapping issues).
2007-02-24 02:01:57 +00:00
dtrg 2c98eae913 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 5d7360edf0 Added a definition of endrom. 2007-02-20 00:42:23 +00:00
dtrg bb5ab180d3 Added some comments and a CVS header. 2007-02-20 00:41:26 +00:00
dtrg b15186d574 Tweaked to allow _ as a leading character in identifier names (if
use of underscores in identifiers has been turned on).
2007-02-20 00:40:00 +00:00
dtrg 9b82e21f06 Added some missing #includes. 2007-02-20 00:38:49 +00:00
dtrg 84b35a215a Now uses fd 0 instead of trying to explicitly open /dev/tty. 2007-02-20 00:38:13 +00:00
dtrg d0bff8b01c Changed to no longer include /usr/include by default. 2007-02-20 00:36:15 +00:00
dtrg ca3c5d0d0c Fixed some reentrant comments. 2007-02-20 00:35:37 +00:00
dtrg 6d72be8b43 Changed the 'preprocess' rule to use the system C preprocessor. 2007-02-20 00:32:58 +00:00
dtrg 4aa396fdec Added some missing CVS headers and did a bit of cleaning up. 2007-02-20 00:31:54 +00:00
dtrg 7ce42ea371 Fixed a compilation error that was causing opt to not have its
peephole optimisation tables, which would make it generate
duff code.
2007-02-20 00:27:01 +00:00
dtrg 0f8115e3c9 Added 8086 PC bootable floppy support (pc86). 2007-02-20 00:25:12 +00:00
dtrg 8be57751c3 Fixed a bug in the maximum segment calculation. 2006-11-11 23:00:55 +00:00
dtrg 84e903586b Updated to work with the new version of pm. 2006-11-11 22:59:52 +00:00
dtrg d925ad7c46 Now uses the version of LLgen included with the ACK instead of the standalone version. 2006-11-11 22:59:01 +00:00
dtrg 01e7d0c56d Added a pmfile to allow LLgen to be built as part of the ACK again. 2006-11-11 22:58:30 +00:00
dtrg eba0b5023e Added support for anm, asize, ashow, astrip and the new aslod tool. 2006-10-16 23:25:56 +00:00
dtrg d228deb16d Added new aslod tool for making memory dumps. 2006-10-16 23:25:27 +00:00
dtrg 4659f40b18 Sanitised the use of #include files to more properly conform to the standards. 2006-10-16 23:20:11 +00:00
dtrg 8601c6c5bf Updated to the version 0.1 of Prime Mover (which involves some syntax changes). 2006-10-15 00:28:12 +00:00
dtrg df67dbcaeb ack expects the tail_ libraries not to have the .a extension. 2006-07-30 23:45:48 +00:00
dtrg 696b04e5ae Modified to install aal's manpage. 2006-07-30 23:45:35 +00:00
dtrg 322597e715 Added support for the ANSI C language runtime and preprocessor. 2006-07-30 23:45:18 +00:00
dtrg 1523514504 Added rules for building things with the ack itself. 2006-07-30 23:44:57 +00:00
dtrg 44daceddd2 Broke dependency on tool_cpp in order to speed up the build. 2006-07-30 23:41:16 +00:00
dtrg 8bcd8ede76 Rationalised use of #includes to be more standards-compliant. 2006-07-30 23:40:35 +00:00
dtrg ce6de53e60 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. 2006-07-30 23:38:41 +00:00
dtrg c308262eb6 Added the correct shell script magic. (Some platforms insist on this.) 2006-07-30 23:37:15 +00:00
dtrg 8348fa5474 Worked around a mysterious preprocessor oddness causing some
crucial whitespace to be removed.
2006-07-30 23:36:19 +00:00
dtrg 1ccc853b71 Updated to the latest version of pm. 2006-07-30 23:33:31 +00:00
dtrg 4eb2b4351b Added support for the K&R C language runtime. 2006-07-27 22:51:38 +00:00
dtrg 0e5a52c1c9 Added support for the Modula-2 language runtime. 2006-07-27 22:14:55 +00:00
dtrg faff5b8361 Added support for the Pascal language runtime. 2006-07-27 22:07:38 +00:00
dtrg 2619a6aeb1 Added support for the Basic and Occam language runtimes. 2006-07-27 21:58:13 +00:00
dtrg f35d231c1f Added support for the Basic compiler. 2006-07-26 23:08:09 +00:00
dtrg 46d9eff270 Rationalised use of #includes to be more standards-compliant. 2006-07-26 23:06:56 +00:00
dtrg 38276da8ea Adjusted to allow the path of the Lpars.h file to be given on the
command line.
2006-07-26 23:05:52 +00:00
dtrg 8364064fae Updated to the latest version of pm. 2006-07-26 18:24:16 +00:00
dtrg 98c0efeca4 Added support for the Occam compiler. 2006-07-26 18:23:32 +00:00
dtrg bffe70f9ac Rationalised use of #includes to be more standards-compliant. 2006-07-26 18:22:02 +00:00
dtrg b48e9d9550 Renamed em.h to occam-em.h to avoid a clash with an ACK module
header file.
2006-07-26 18:20:38 +00:00
dtrg d73458fd52 Tweaked the CVS settings. 2006-07-26 18:19:15 +00:00
dtrg b33fd563b7 Added support for the Modula-2 compiler. 2006-07-26 17:12:19 +00:00
dtrg dd760329aa Rationalised use of #includes to be more standards-compliant. 2006-07-26 17:10:30 +00:00
dtrg 383677ff3e Changed to no longer build sys_lock() and sys_unlock(); they only work
on platforms that support hardlinks, and nobody uses them anyway.
2006-07-26 12:40:59 +00:00
dtrg 75d10944b8 Fixed to use rename() for renaming files, not link()/unlink(). 2006-07-26 12:40:25 +00:00
dtrg d6bd2c86bd Now avoids piping shell scripts into a new instance of sh, instead
using a subshell.
2006-07-26 12:29:47 +00:00
dtrg 8952648ab5 Modified to include the appropriate header file rather than (badly)
prototyping syscalls itself.
2006-07-26 12:28:56 +00:00
dtrg 06ed8b1b8f Updated to the latest version of pm. 2006-07-26 12:27:01 +00:00
dtrg 6f46578879 Modified to not try to unlink directories when installing. 2006-07-25 23:29:12 +00:00
dtrg 4a8b62c862 Updated version number. 2006-07-25 23:24:39 +00:00
dtrg 1f78b7ff4e Modified to use rename() instead of link()/unlink() to rename files. 2006-07-25 23:24:20 +00:00
dtrg 2d5e79ec0a Updated to the latest version of pm which installs files with symlinks. 2006-07-25 23:22:58 +00:00
dtrg 58fad2b368 Updated to the latest version of pm. 2006-07-25 13:28:35 +00:00
dtrg 188f135e5e Updated to the latest version of pm. 2006-07-25 09:23:21 +00:00
dtrg 62a8851bc8 Added a workaround for an OSX compiler bug. 2006-07-23 20:33:26 +00:00
dtrg 46d504c483 Updated to the latest version of pm. 2006-07-23 20:07:19 +00:00
dtrg 9c722420dd Replaced calls to the custom strindex() and strrindex() functions with the
exactly equivalent and standard strchr() and strrchr() functions instead.
2006-07-23 20:01:02 +00:00
dtrg 80b4463439 Modified to no longer build unoptimised duplicates of all the standard
string functions (strcpy, strlen, etc).
2006-07-23 19:58:27 +00:00
dtrg ac7b578128 Changed to call ranlib on ar archives. (Unnecessary on Linux and *BSD,
but needed on OSX and technically correct.)
2006-07-23 19:56:11 +00:00
dtrg 09f4845060 Removed a really unpleasant test for whether a pointer points at a string
constant or not by comparing it with 'end', which presumably points at
the top of the BSS. In fact, on Linux it evaluates to NULL, and on OSX it
doesn't exist at all, so it appears to be unnecessary.
2006-07-23 19:38:13 +00:00
dtrg 47d990fec8 Modified to avoid creating a zero-length iargs array, which some compilers
(OSX) do not create a symbol for.
2006-07-23 18:29:38 +00:00
dtrg f3e9069ea0 cpp now gets installed in the right place. 2006-07-23 17:52:23 +00:00
dtrg 217062585d Really added support for the Pascal compiler. 2006-07-22 21:24:41 +00:00