199 |
--disable-regex --- omit regular expression interfaces |
--disable-regex --- omit regular expression interfaces |
200 |
|
|
201 |
|
|
202 |
|
Cross building Guile ===================================================== |
203 |
|
|
204 |
|
As of guile-1.5.x, the build process uses compiled C files for |
205 |
|
snarfing, and (indirectly, through libtool) for linking, and uses the |
206 |
|
guile executable for generating documentation. |
207 |
|
|
208 |
|
When cross building guile, you first need to configure, build and |
209 |
|
install guile for your build host. |
210 |
|
|
211 |
|
Then, you may configure guile for cross building, eg: |
212 |
|
|
213 |
|
./configure --host=i686-pc-cygwin --disable-shared |
214 |
|
|
215 |
|
Two special options for cross building are available: |
216 |
|
|
217 |
|
--with-cc-for-build --- native C compiler, to be used during build |
218 |
|
defaults to: `PATH=/usr/bin:$PATH cc' |
219 |
|
|
220 |
|
--with-guile-for-build --- native Guile executable, to be used during build |
221 |
|
defaults to: `guile', assuming you just |
222 |
|
installed this guile natively. |
223 |
|
|
224 |
|
|
225 |
Using Guile Without Installing It ========================================= |
Using Guile Without Installing It ========================================= |
226 |
|
|
227 |
If you want to run Guile without installing it, set the environment |
If you want to run Guile without installing it, set the environment |
241 |
|
|
242 |
setenv GUILE_LOAD_PATH /home/jimb/guile-snap |
setenv GUILE_LOAD_PATH /home/jimb/guile-snap |
243 |
|
|
244 |
|
You will additionally need to set your `LTDL_LIBRARY_PATH' environment |
245 |
|
variable to the directory in which the compiled SRFI support modules |
246 |
|
are created if you want to use the modules for SRFI-4, SRFI-13 or |
247 |
|
SRFI-14 support. Similar to the example above, this will be, |
248 |
|
|
249 |
|
export LTDL_LIBRARY_PATH=/home/jimb/guile-snap/srfi/.libs |
250 |
|
|
251 |
|
or if you're using CSH or one of its variants: |
252 |
|
|
253 |
|
setenv LTDL_LIBRARY_PATH /home/jimb/guile-snap/srfi/.libs |
254 |
|
|
255 |
|
|
256 |
Installing SLIB =========================================================== |
Installing SLIB =========================================================== |
257 |
|
|