Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autotools #6

Open
rmccullagh opened this issue Sep 20, 2016 · 1 comment
Open

autotools #6

rmccullagh opened this issue Sep 20, 2016 · 1 comment

Comments

@rmccullagh
Copy link
Collaborator

implement automake, etc to build the binary.

@rmccullagh rmccullagh changed the title autotoosl autotools Sep 21, 2016
@LoupVaillant
Copy link

If I may, I have briefly looked at the autotools and… don't. That thing is a monstrosity. Way too complex.

Wait until your project has 50 files, 10K lines of code, and a dozen external dependencies. Which it won't, because it's a simple VM. I've written a VM for my day job once. It supported a non-trivial number of primitive operations, as well as a high level language (garbage collection, higher-order functions, the works). 2700 lines of C++ code in 7 sources files and 8 header files, zero dependency (besides the standard library). I also needed a compiler, which took 1500 lines of OCaml code.

We used GNU make for the whole project (the VM was but a part of it) and it worked. It was ugly, but sufficient. There's a good chance you don't need more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants