mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-13 04:44:39 +00:00
Update the documentation about the PPC Linux port.
Estimated hours taken: 0.5 README.Linux-PPC: Update the documentation about the PPC Linux port. Global register variables do work with gcc-2.8.0.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
Mercury should build "out-of-the-box" on Linux for PPC.
|
||||
Thanks to Robert A. Abernathy for his help with this port.
|
||||
|
||||
However, gcc 2.7.2 does not yet support global register variables
|
||||
on this configuration, which means that the code generated by the
|
||||
Mercury compiler is much less efficient. Perhaps a future release
|
||||
of gcc (2.8?) will incorporate this support. But for the moment,
|
||||
we recommend that you use egcs (see <http://www.cygnus.com/egcs/>),
|
||||
which does have support for global register variables.
|
||||
You will need to use a recent release of gcc which supports global
|
||||
register variables for this configuration - gcc 2.8.0 seems to
|
||||
work fine, whereas gcc 2.7.2 doesn't. Global register variables
|
||||
allow considerably more efficient code to be generated. Another option
|
||||
is egcs (see <http://www.cygnus.com/egcs/>).
|
||||
|
||||
In addition, there are a few things that could be done to "tune" this
|
||||
port. Currently the Linux-PPC port does not yet support shared
|
||||
|
||||
Reference in New Issue
Block a user