Skip to content

Commit

Permalink
Merge pull request #159 from aldorlang/add-configure
Browse files Browse the repository at this point in the history
Configuration fixes
  • Loading branch information
pbroadbery authored Jun 21, 2023
2 parents ecef078 + 179543f commit 6196ec7
Show file tree
Hide file tree
Showing 91 changed files with 75,405 additions and 148 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,26 @@ Building the compiler
---------------------

The directory `aldor` contains a build infrastructure based on the GNU build
system: libtool, autoconf and automake. In order to use it, you will need
system: libtool, autoconf and automake. In order to use it, you should have
these tools, and run the command `./autogen.sh`. After that, you can set up
the build with `./configure` and start it with `make`.

Note that having the GNU build tools installed is optional. Instead,
you use the supplied `configure` script with
`--disable-maintainer-mode`.

The build system supports parallel builds with `make -jN` where N is the number
of parallel tasks (generally: number of logical CPU cores + 2).

You can run `./configure --prefix=/install/path` to select the path you want to
install aldor to (in this case `/install/path`, but you will likely want a
different path).

Compilation of the 'C' files in aldor will fail if a warning is
generated. If you want to the build to ignore warnings and simply
continue, add `--disable-error-on-warning` as an argument to
`./configure`. It's likely that any new warning is harmless, and due
to a change in C compiler.

Reporting issues
----------------
Expand Down
4 changes: 1 addition & 3 deletions aldor/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/Makefile.in
/aclocal.m4
/amaux
/autom4te.cache
/build
/config.status
Expand All @@ -11,6 +8,7 @@
/workspace

Makefile
a.out

.#*
\#*
Expand Down
Loading

0 comments on commit 6196ec7

Please sign in to comment.