summaryrefslogtreecommitdiff
path: root/meta/uninstalled-env.in
Commit message (Expand)AuthorAgeFilesLines
* configure detects which set of prebuilt binaries to use...* configure.ac: Use detected endianness and word size to automatically select which set of prebuilt binaries to use. * meta/build-env.in (top_builddir): * meta/uninstalled-env.in (top_builddir): Update to use SCM_PREBUILT_BINARIES for prebuilt entry in GUILE_LOAD_COMPILED_PATH. * prebuilt/32-bit-big-endian: * prebuilt/32-bit-little-endian: * prebuilt/64-bit-little-endian: New links. * prebuilt/x86_64-pc-linux-gnu: Remove this link now that it's unneeded. Andy Wingo2017-03-141-2/+2
* Fix uninstalled-env bug that put prebuilt/ in front...* meta/uninstalled-env.in (top_builddir): Fix bug whereby meta/uninstalled-env run within meta-uninstalled-env, as happens sometimes, would move the prebuilt dir to the front. Andy Wingo2016-06-271-7/+2
* Distribute prebuilt bootstraps for common hosts...* am/bootstrap.am: New file, factored out of bootstrap/Makefile.am. * bootstrap/Makefile.am: Use bootstrap.am. * prebuilt/Makefile.am: * prebuilt/i686-pc-linux-gnu/Makefile.am: * prebuilt/mips-unknown-linux-gnu/Makefile.am: * prebuilt/x86_64-unknown-linux-gnu/Makefile.am: New files. * configure.ac: Output the prebuilt/ makefiles. * Makefile.am: Descend into prebuilt/ when making dist. * meta/uninstalled-env.in: Arrange to put prebuilt/ in the beginning of the GUILE_LOAD_COMPILED_PATH. Also fix a case where bootstrap/ wasn't being correctly added to the load path. Andy Wingo2016-01-291-13/+14
* Fix uninstalled-env bug that preferred bootstrap/ to module/...* meta/uninstalled-env.in (top_builddir): Whoops! We were preferring bootstrap/ unoptimized .go files to module/ optimized .go files. Fix! Andy Wingo2015-10-251-1/+1
* Use a bootstrapped -O0 compiler to compile the -O2 Guile...This reduces total build time to around 30 minutes or so. * Makefile.am (SUBDIRS): Visit bootstrap/ before module/. * bootstrap/Makefile.am: New file. * configure.ac: Generate bootstrap/Makefile. * meta/uninstalled-env.in (top_builddir): Add bootstrap/ to the GUILE_LOAD_COMPILED_PATH. * module/Makefile.am: Simplify to just sort files in alphabetical order; since bootstrap/ was already compiled, we don't need to try to optimize compilation order. Although the compiler will get faster as more of the compiler itself is optimized, this isn't a significant enough effect to worry about. Andy Wingo2015-10-231-2/+2
* move (test-suite lib) to lower dir; cleans up uninstalled paths....* check-guile.in: * test-suite/Makefile.am: * test-suite/test-suite/lib.scm: * benchmark-guile.in: * benchmark-suite/Makefile.am: * benchmark-suite/benchmark-suite/lib.scm: Lower the lib modules in the source tree. This lets us remove top_srcdir and top_builddir from the uninstalled paths. * test-suite/tests/asm-to-bytecode.test: * test-suite/tests/brainfuck.test: * test-suite/tests/compiler.test: * test-suite/tests/ftw.test: * test-suite/tests/gc.test: * test-suite/tests/match.test: * test-suite/tests/rnrs-libraries.test: * test-suite/tests/rnrs-test-a.scm: * test-suite/tests/sxml.match.test: Adapt to not expect that module names be prefixed with "test-suite". Andy Wingo2012-04-231-6/+6
* Allow $GUILE_FOR_BUILD to use its own environment when cross-compiling....* am/guilec (.scm.go): Use `-L' to specify the search path. * module/Makefile.am (ice-9/psyntax-pp.go): Likewise. * meta/uninstalled-env.in (top_builddir): Leave $GUILE_LOAD_PATH, $GUILE_SYSTEM_PATH, and $GUILE_SYSTEM_EXTENSIONS_PATH unchanged when cross-compiling. Ludovic Courtès2011-11-231-41/+46
* Leave $GUILE_LOAD_COMPILED_PATH unchanged when cross-compiling....* meta/uninstalled-env.in: Don't define $GUILE_LOAD_COMPILED_PATH when cross-compiling. Ludovic Courtès2011-11-221-14/+19
* guild: Close over `$bindir/guile'....* configure.ac: Substitute `guile_program_name'. * meta/guild.in: Use `@bindir@/@guile_program_name@' by default. * meta/uninstalled-env.in: Define $GUILE. Ludovic Courtès2011-07-231-0/+4
* fix duplicate path in uninstalled-env...* meta/uninstalled-env.in: Our code that checked for paths already being in the load path was not working for the last entry in the load path. This caused the last entry to be re-added to the beginning, which also caused relative filename canonicalization to prepend "module/" to everything. Terrible. Andy Wingo2011-03-311-0/+3
* uninstalled-env ordering tweaks to fix readline's file name...* meta/uninstalled-env.in (subdirs_with_ltlibs): Remove "srfi". Reorder the load-path and load-compiled-path to put the root dir after guile-readline, so that relative canonicalization computes the correct path for ice-9/readline.scm. Andy Wingo2011-02-081-7/+7
* brown-paper-bag to uninstalled-env...* meta/uninstalled-env.in: Fix lack of test. Andy Wingo2010-06-101-1/+1
* more uninstalled-env fixen...* meta/uninstalled-env.in: Don't implicitly add . to LTDL search paths if no LTDL_LIBRARY_PATH was set. Avoid a duplicate to PATH. Andy Wingo2010-06-101-7/+13
* uninstalled-env cleanups...* meta/uninstalled-env.in: Clean up setting of GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH. Andy Wingo2010-06-101-12/+14
* don't forget to set GUILE_SYSTEM_PATH in uninstalled mode...* meta/uninstalled-env.in (GUILE_SYSTEM_PATH): Set this var too in uninstalled mode. Andy Wingo2010-06-101-1/+5
* Use portable shell in `meta/uninstalled-env'....* meta/uninstalled-env.in: Don't use the `-q' and `-E' options, which are specific to GNU grep. Don't set-and-export environment variables at once since this is a GNU Bash extension. Ludovic Courtès2009-12-151-4/+6
* add $libir to the ltdl path, not $pkglibdir; add extensionsdir...* libguile/Makefile.am (libpath.h): Fix SCM_LIB_DIR to point to the libdir, not pkglibdir. Add SCM_EXTENSIONS_DIR, for a dir to put in the dynamic-link search path that's not managed by ldconfig or the like; and put this dir in the "extensionsdir" key of %guile-build-info. * libguile/dynl.c (sysdep_dynl_init): Rename the installed-libdir environment var to GUILE_SYSTEM_EXTENSIONS_PATH (from GUILE_SYSTEM_LTDL_PATH). Also add SCM_EXTENSIONS_DIR to the ltdl search path in the default case. * meta/uninstalled-env.in: Adapt override to match. * meta/guile-2.0.pc.in: Add extensionsdir, so you can pkg-config --variable=extensionsdir guile-2.0. Andy Wingo2009-10-131-2/+2
* add the libdir to the ltdl lib search path...* libguile/Makefile.am (libpath.h): Fix pkgdatadir, pkglibdir, and pkgincludedir entries. Add a new define, SCM_LIB_DIR. * libguile/dynl.c (sysdep_dynl_init): Add the libdir to the libltdl search path. Should fix http://thread.gmane.org/gmane.lisp.guile.bugs/4289/focus=4296 -- that is, it should allow guile to be invoked from whereever it is installed, without munging LTDL_LIBRARY_PATH or the like variables. There is a trick though -- during the build, we don't want to be looking in the $libdir for loadable modules. So as with GUILE_SYSTEM_PATH, we have GUILE_SYSTEM_LTDL_PATH. * meta/uninstalled-env.in: Set GUILE_SYSTEM_LTDL_PATH to "" when building. Andy Wingo2009-09-161-0/+4
* Add proper `--help' and `--version' for `guile-tools compile'....* configure.ac: Produce `meta/guile-tools'. * meta/Makefile.am (EXTRA_DIST): Add `guile-tools.in'. (bin_SCRIPTS): Remove `guile-tools'. * meta/uninstalled-env.in (PATH): Add "${top_builddir}/meta". * module/scripts/compile.scm (%options): Add `--version'. (parse-args): Show the offending option name upon error. (show-version): New. (compile): Use `%guile-bug-report-address'. Ludovic Courtès2009-08-151-1/+2
* Change Guile license to LGPLv3+...(Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* ) Neil Jerram2009-06-171-5/+6
* update uninstalled-env.in for load-compiled path separation...* meta/uninstalled-env.in: Update to set GUILE_LOAD_COMPILED_PATH and GUILE_SYSTEM_COMPILED_PATH. Andy Wingo2009-06-031-2/+19
* distcheck fixen...* examples/Makefile.am: Fix the installed guile-config invocation to set PKG_CONFIG_PATH. * meta/Makefile.am (EXTRA_DIST): Dist the bin_SCRIPTS. * meta/guile-config (pkg-config): Better error messages if pkg-config invocation fails. * meta/uninstalled-env.in (PATH): Now that guile-config and guile-tools are not generated, make it the srcdir/meta instead of the builddir. (Guile itself will be picked up from libguile.) Andy Wingo2009-04-211-1/+1
* fix build errors on fresh checkout...* meta/guile-tools: We can't use srfi-1, because on a fresh checkout the srfi-1 shlib isn't built yet. Bummer. * meta/uninstalled-env.in: Fix up the DYLD lines for BSDen. * module/scripts/snart-guile-m4-docs.scm: Fix expected arguments. Andy Wingo2009-04-201-1/+1
* guile-config rebased on top of pkg-config...* configure.in: * meta/Makefile.am (EXTRA_DIST): Remove guile-config.in bits. * meta/guile-config: Reimplement to work on top of pkg-config. This lets guile-config not be substed by configure. * meta/uninstalled-env.in: Remove the path to guile-config, belatedly. Set the pkg-config path correctly. Andy Wingo2009-04-061-3/+2
* allow building against uninstalled guile; move some things to meta/...* README: Add more info about building against an uninstalled Guile. * meta/: New directory. The proximate cause of its creation is that I want to be able to build external packages against uninstalled Guile, and to do that I need guile-tools in the PATH, but I don't want $top_builddir/libtool in the path. But it seems like a good reorganization, for things that are /about/ Guile: pkg-config files, m4 files, guile-config... then we also include uninstalled info: the environment, the pre-inst-guile script, etc. * meta/guile-1.8-uninstalled.pc.in: New pkg-config template. pkg-config prefers -uninstalled pkg-config files, if they are in its path. * meta/Makefile.am: * meta/ChangeLog-2008: * meta/gdb-uninstalled-guile.in: * meta/guile-1.8.pc.in: * meta/guile-config.in: * meta/guile.m4: * meta/guile-tools.in: Moved to meta/. * meta/guile.in: This is the new name of pre-inst-guile.in. * meta/uninstalled-env.in: And this, pre-inst-guile-env.in. * Makefile.am: * am/guilec: * am/pre-inst-guile: * check-guile.in: * configure.in: * doc/ref/Makefile.am: * gc-benchmarks/run-benchmark.scm: * test-suite/standalone/Makefile.am: * test-suite/standalone/README: * testsuite/Makefile.am: Adapt to meta/ change. Andy Wingo2009-03-271-0/+100