[m-dev.] for review: README.lcc
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Feb 6 19:18:08 AEDT 2001
On 04-Feb-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> When building in the none.* grades, I also needed to set the
> --max-jump-table-size flag.
>
> Can't remember what size it was. Try building options.m to see if it is
> still needed.
It doesn't appear to be needed anymore, but I'll mention it anyway,
just in case.
Here's a relative diff. I'll go ahead and commit this.
--- README.lcc.old Tue Feb 6 02:09:52 2001
+++ README.lcc Tue Feb 6 02:16:11 2001
@@ -154,6 +154,14 @@
This results in some spurious warnings when invoking `lcc -c ...',
but ensures that `lcc -static ...' works.
-3. Set the environment variable `CC' to `lcc' before running configure.
+3. When invoking `configure', use the `--with-cc=lcc' option.
+
+4. If you run into a fixed limit with lcc, it might be necessary
+ to pass the `--max-jump-table-size' to mmc, e.g. by putting
+ `EXTRA_MCFLAGS=--max-jump-table-size 100' in Mmake.params.
+ This requires recompiling the Mercury sources to C,
+ so you need to have a working Mercury compiler already installed
+ (e.g. one built using gcc instead of lcc).
+
+5. Otherwise, follow the normal installation instructions in the INSTALL file.
-4. Follow the normal installation instructions in the INSTALL file.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list