mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Update cross-compilation instructions.
* README (Cross building Guile): Update.
This commit is contained in:
parent
1c1f7a3223
commit
2db1dbfe27
1 changed files with 13 additions and 10 deletions
23
README
23
README
|
@ -239,25 +239,28 @@ switches specific to Guile you may find useful in some circumstances.
|
||||||
|
|
||||||
Cross building Guile =====================================================
|
Cross building Guile =====================================================
|
||||||
|
|
||||||
As of guile-1.5.x, the build process uses compiled C files for
|
As of Guile 2.0.x, the build process produces a library, libguile-2.0,
|
||||||
snarfing, and (indirectly, through libtool) for linking, and uses the
|
along with Guile "object files" containing bytecode to be interpreted by
|
||||||
guile executable for generating documentation.
|
Guile's virtual machine. The bytecode format depends on the endianness
|
||||||
|
and word size of the host CPU.
|
||||||
|
|
||||||
When cross building guile, you first need to configure, build and
|
Thus, when cross building Guile, you first need to configure, build and
|
||||||
install guile for your build host.
|
install it for your build host.
|
||||||
|
|
||||||
Then, you may configure guile for cross building, eg:
|
Then, you may configure Guile for cross building:
|
||||||
|
|
||||||
./configure --host=i686-pc-cygwin --disable-shared
|
./configure --host=i686-pc-cygwin --disable-shared
|
||||||
|
|
||||||
A C compiler for the build system is required. The default is
|
A C compiler for the build system is required. If that doesn't suit it
|
||||||
"PATH=/usr/bin:$PATH cc". If that doesn't suit it can be specified
|
can be specified with the CC_FOR_BUILD variable in the usual way, for
|
||||||
with the CC_FOR_BUILD variable in the usual way, for instance
|
instance:
|
||||||
|
|
||||||
./configure --host=m68k-unknown-linux-gnu CC_FOR_BUILD=/my/local/gcc
|
./configure --host=m68k-unknown-linux-gnu CC_FOR_BUILD=/my/local/gcc
|
||||||
|
|
||||||
Guile for the build system can be specified similarly with the
|
Guile for the build system can be specified similarly with the
|
||||||
GUILE_FOR_BUILD variable, it defaults to just "guile".
|
GUILE_FOR_BUILD variable, which defaults to whatever `guile' executable
|
||||||
|
is found in $PATH. It must have the exact same version has the Guile
|
||||||
|
that you intend to cross-build.
|
||||||
|
|
||||||
|
|
||||||
Using Guile Without Installing It =========================================
|
Using Guile Without Installing It =========================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue