[m-users.] Bootstrapping issues
emacstheviking
objitsu at gmail.com
Tue Jun 25 19:56:38 AEST 2019
Hi,
I downloaded and built the latest stable release and it sits happily at
/usr/local/mercury-14-01.1/bin/mmc
and I can run it quite happily but since using it I noticed a couple of
warnings that I can submit a patch/PR for but I cannot seem to build from
the github as it tells me..
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking what the C compiler type really is... gcc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for cygpath... echo
checking for cygpath... echo
looking for an already installed Mercury compiler to bootstrap with...
checking for mmc... /usr/local/mercury-14.01.1/bin/mmc
checking whether the above mmc works and is sufficiently recent... no
configure: error: You need a working Mercury compiler to bootstrap with
I used this page:
https://github.com/Mercury-Language/mercury/blob/master/README.bootstrap
and I have obv. misread it...it doesn't say if the instructions:
BOOTSTRAPPING
-------------
Once the minimal prerequisite compiler has been built and installed, a
reasonably complete distribution can be bootstrapped. However the build
tree must be clean or the build may fail. Clean and then build the complete
distribution by issuing the following command sequence:
----
make realclean
./prepare.sh
./configure
make
sudo make install
----
apply to the github repo or to the bootstrap compiler I just built...
I have used prolog enough to know i want to port my skills to Mercury but
it's been pretty frustrating so far...my first personal project is a set of
hyperlinked docs!
http://seancharlesconsulting.co.uk/posts/2019-06-19-mercury-documentation-project.html
All the best,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20190625/0f6b4ac1/attachment.html>
More information about the users
mailing list