David Given
cdeea836f2
Replaced the fairly complex environment code with a much simpler
...
emitter object.
2016-07-26 23:43:31 +02:00
David Given
a8a9d1bbfa
yacc, ncgg; platform ncg builds now.
2016-07-26 23:35:30 +02:00
David Given
bff5c4019c
Baby steps towards building a platform --- make the assembler work.
...
Add ackbuilder support for C preprocessor files and yacc.
2016-07-24 00:50:02 +02:00
David Given
2770a83837
More programs, more libraries. src/modules build files are now saner.
2016-07-23 00:30:31 +02:00
David Given
1fdc69fb97
cemcom.ansi now builds.
2016-07-19 23:43:14 +02:00
David Given
05e3cf286f
Saner clibrary dependency and header handling.
2016-07-19 23:42:56 +02:00
David Given
b7720c298b
Error out if a template expansion returns nil (as it's normally an error).
2016-07-19 23:42:42 +02:00
David Given
2d2497c318
ackbuilder rules files now require absolute paths in external variables
...
(otherwise commands which change directory don't work).
2016-07-18 23:16:27 +02:00
David Given
523374c36b
Built a make bootstrap that runs either make or ninja depending on which is
...
installed.
2016-07-16 14:58:29 +02:00
David Given
bcf3408e36
More stuff builds; almost the C compiler now.
2016-07-14 23:54:13 +02:00
David Given
cdbd605803
concat, targetnamesof. deps is now handled more consistently (treated the same
...
as ins but not passed in as inputs).
2016-07-14 23:53:34 +02:00
David Given
f70c12fad5
Allow headers which aren't .h files.
2016-06-30 13:27:47 +02:00
David Given
60edd08390
Make work with make.
2016-06-30 13:19:10 +02:00
David Given
90764320bb
Better cwd handling.
2016-06-29 13:58:38 +02:00
David Given
c8711628ab
clibrary can now export headers.
2016-06-29 13:28:45 +02:00
David Given
7f7005bac5
Local rules; include() and replace().
2016-06-29 13:28:22 +02:00
David Given
d805052205
All the amisc binaries now build.
2016-06-19 09:32:45 +02:00
David Given
1978867fd2
Add ninja support. It works so much better than make.
2016-06-19 08:55:02 +02:00
David Given
2af8568cc3
First draft at installables; not very satisfactory. make bugs with multiple
...
output targets and parallelism?
2016-06-16 05:26:44 +02:00
David Given
09554cb324
installable works, although it's a bit kludgy. Change the : separator to +
...
because : is special in make and non of the others I could think of would work.
2016-06-14 07:34:14 +02:00
David Given
605651776e
We can build a real program now!
2016-06-12 20:59:43 +02:00
David Given
a04dbf33f3
Add hgignore file.
2016-06-12 20:59:16 +02:00
David Given
015804afce
cprogram works.
2016-06-09 07:14:41 +02:00
David Given
f47bb49c1f
Multiple build files work. Use deps intelligently. clibraries.
2016-06-09 06:55:44 +02:00
David Given
fcc5a878ae
Rather cleaner cfile implementation where you just give it a .c and a pile of .h files.
2016-06-08 03:21:53 +02:00
David Given
8082ef16a7
cfile with dynamically generated headers sort of works.
2016-06-07 05:00:26 +02:00
David Given
f4449e3f97
Multioutput rules work!
2016-06-07 04:20:08 +02:00
David Given
79f7c0ad23
Leaf rules work!
2016-06-07 04:13:56 +02:00
David Given
b7d2b9c3cf
Dependent rules work!
2016-06-07 00:10:22 +02:00
David Given
14ccf7151e
Most of simplerule now looks like it's working.
2016-06-06 22:13:30 +02:00
David Given
cb0111b290
Skeleton of the rule engine and type system.
2016-06-06 20:50:48 +02:00
David Given
df1372ab35
Really basic skeleton of Ackbuilder mark 2.
2016-06-06 17:18:19 +02:00
David Given
d0bfee142b
Archival non-working checkin of the experimental build tool.
2016-06-05 10:39:29 +02:00
David Given
ffc03090ea
hgtags shouldn't be checked in.
2016-06-04 18:16:52 +02:00
David Given
059073e56c
Branching bug fix.
...
--HG--
branch : default-branch
2016-06-04 12:57:25 +02:00
David Given
45f0cb3c0d
Added tag release-5-6 for changeset 976d56ed63bd
...
--HG--
branch : default-branch
2016-06-04 12:56:00 +02:00
David Given
6db95dc81e
Added tag release-6-0-pre-1 for changeset 3d69c08001d4
...
--HG--
branch : default-branch
2016-06-04 12:55:42 +02:00
David Given
ca981a2f6a
Added tag release-6-0-pre-3 for changeset dd12ef08179d
...
--HG--
branch : default-branch
2016-06-04 12:55:36 +02:00
David Given
73ade9cbcf
Added tag release-6-0-pre-4 for changeset 42d4fcc3a87c
...
--HG--
branch : default-branch
2016-06-04 12:55:27 +02:00
David Given
82399d86ae
Added tag release-6-0-pre-5 for changeset 0708542a3c39
...
--HG--
branch : default-branch
2016-06-04 12:53:57 +02:00
David Given
88bd7ce126
Remove defunct pmfiles.
...
--HG--
branch : default-branch
2016-06-03 13:56:50 +02:00
David Given
9d620ad1c2
The archiver is called aal now.
...
--HG--
branch : default-branch
2016-06-02 12:35:38 +02:00
David Given
4b3c1a2d07
Add missing (but probably non-working) rpi file.
...
--HG--
branch : default-branch
2016-06-02 12:21:13 +02:00
David Given
f24658181d
Has it really been three years since the last release?
...
--HG--
branch : default-branch
2016-06-02 12:07:31 +02:00
David Given
7ee4dcde7b
Don't strip binaries so we retain debugging information.
...
--HG--
branch : default-branch
2016-06-02 12:06:54 +02:00
David Given
ef8e6e25e0
Fix a whole pile of issues related to the failed attempt to increase
...
the number of types of relocation possible in the object file. (Now,
hopefully, working.)
Also change the object serialiser/deserialiser to never try to read or
write raw structures; it's way safer this way and we don't need the
performance boost any more.
--HG--
branch : default-branch
2016-03-18 21:46:55 +01:00
David Given
fd7e9f9046
Fix an insidious 64-bitness bug which was causing incorrectly optimised code.
...
--HG--
branch : default-branch
2016-03-17 22:30:24 +01:00
David Given
391cb0f2cd
Fix checkin into wrong hg branch.
...
--HG--
branch : default-branch
2016-03-17 20:53:45 +01:00
David Given
863b610144
Fix use-after-free.
2016-03-17 20:52:27 +01:00
David Given
b7b449cec3
Install directory now defaults to INSDIR, for ease of use during development.
2016-03-17 20:52:15 +01:00