summaryrefslogtreecommitdiff
path: root/myrbuild
AgeCommit message (Collapse)Author
2014-12-18Remove useless option from muse.Ori Bernstein
Now, merging is the only thing muse does.
2014-10-11Break out of 'use' search with likely terminators.Ori Bernstein
2014-10-05Add line terminators to all mkfiles.Ori Bernstein
2014-10-05Add plan9 mkfiles and runtime.Ori Bernstein
2014-10-05Write my own option parsing.Ori Bernstein
getopt() isn't really portable: it has different and annoying behaviors on OSX, and doesn't actually exist on plan9.
2014-10-04Start work of porting to Plan 9.Ori Bernstein
We're missing getopt, but everything else seems to work as far as compiling goes. Remaining work: - Converting assembly syntax - Invoking plan9 executables correctly
2014-09-14Print the stack that has a cycle when compiling.Ori Bernstein
Myrbuild now keeps track of the files being compiled, and prints a dependency stack, making it easier to puzzle out what caused a dependency loop.
2014-08-19Don't spuriously add include paths.Ori Bernstein
Fix a dumb typo. Also, respect the include path order.
2014-08-14Add path joining and normalization functions.Ori Bernstein
2014-08-11Simplify runtime overrride scheme.Ori Bernstein
Just provide a '-r' option that lets you point to any runtime that you want.
2014-08-11Spit out the runtime from libstd.Ori Bernstein
This will allow linking code without libstd, as well as fixing link order on freebsd. Freebsd seems to be picky aobut where '_start' is searched from.
2014-05-246m now generates usefiles.Ori Bernstein
This should simplify and speed things up.
2014-03-10Actually enable assembly generation.Ori Bernstein
2014-02-26Add support for '-S' command in myrbuild.Ori Bernstein
This will generate asm files when building with myrbuild, no direct calls to 6m needed.
2014-01-22Remove apparently offensive comment.Ori Bernstein
2014-01-09Add 'htgetv' function.Ori Bernstein
Returns a value no matter what. A default value, if needed.
2013-12-27Handle link order.Ori Bernstein
Fuck link order.
2013-09-05Add basic loop detection to myrbuild.Ori Bernstein
2013-06-07Fix the library link adding.Ori Bernstein
2013-06-05Read far fewer dependencies over and over.Ori Bernstein
Check for freshness before scanning.
2013-06-05Remember to close the file when reading deps.Ori Bernstein
2013-03-20Only add a library to the link list once.Ori Bernstein
2013-03-20Include the configuration in the makefile.Ori Bernstein
Now things like 'make install' will work.
2013-02-19It's not a fatal if an 'mc' subcommand fails.Ori Bernstein
We should just exit with the status returned.
2013-02-19Add system dependent behavior to myrbuild.Ori Bernstein
It probes the OS it runs on now, and changes the commands to the appropriate ones. For now, that means changing the linker command line to specify the OSX version. In the future, when we support multiple architectures, it will include probing the architecture as well.
2013-02-09Teach myrbuild about linker scripts.Ori Bernstein
Useful for building a kernel.
2013-01-25Merge remote-tracking branch 'origin/nicer-ra'Ori Bernstein
2013-01-25Improve errors with malformed use file name.Ori Bernstein
2013-01-22Fix uninitialized variable warnings under Clang.Ori Bernstein
2013-01-18Be more careful about duplicated dependencies to build.Ori Bernstein
We would allow duplicated local deps in the dependency list before. Don't do that.
2012-10-24Give myrbuild a better command failure msgOri Bernstein
2012-10-24Search local libs before system libs.Ori Bernstein
2012-10-24Merge branch 'master' of git+ssh://git.eigenstate.org/git/ori/mcOri Bernstein
2012-10-24Formatting fix.Ori Bernstein
2012-10-19More OSX build fixes.Ori Bernstein
2012-10-19Make builds a bit more OSX friendlyOri Bernstein
2012-10-04Filter duplicate libraries.Ori Bernstein
2012-10-04Merge branch 'master' of git+ssh://git.eigenstate.org/git/ori/mcOri Bernstein
2012-10-02Use C strings for system calls.Ori Bernstein
We used Myrddin strings, which are not nul terminated, when entering the system. Since Posix systems use nul terminated strings for paths and such in system calls, this was wrong. Now, strings are allocated on the stack by an assembly function that does some trickery with stack pointer adjustment, and passed to the kernel that way. This should not be a bottleneck, and allows us to keep slicing strings.
2012-10-01Fix include paths for build filesOri Bernstein
2012-10-01Merging usefiles works on .use, not .oOri Bernstein
2012-09-28use 'myrbuild' to build the standard Myrddin library.Ori Bernstein
2012-09-28Make a few changes to increase robustness.Ori Bernstein
Exit after we fail to run a command, instead of ignoring the failure.
2012-09-28Remove another unneeded " ", this time from museOri Bernstein
2012-09-28Fix typo -- 'ar' shouldn't have a space at the end.Ori Bernstein
2012-09-28Build tool is complete now.Ori Bernstein
2012-09-28Myrbuild now correctly walks dependencies.Ori Bernstein
2012-09-27Make CLI args work on OSX.Ori Bernstein
2012-09-27Start working on a build tool.Ori Bernstein
2012-09-27Rename 'util' directory to 'muse'.Ori Bernstein
One binary or library per directory with our build system.