John Darrington
db6190899e
gnu: gnu-build-system: Add CC_FOR_BUILD to configure flags.
...
* guix/build/gnu-build-system.scm: Add new configure flag: CC_FOR_BUILD=gcc
* gnu/packages/gnupg.scm, gnu/packages/guile.scm, gnu/packages/make-bootstrap.scm:
remove CC_FOR_BUILD from these package descriptions.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-17 21:28:07 +01:00
Ludovic Courtès
0ece707470
gnu: make-bootstrap: Add missing inputs for Canadian cross of '%gcc-static'.
...
* gnu/packages/make-bootstrap.scm (%gcc-static): Add 'native-inputs'
field.
2013-11-23 16:07:29 +01:00
Ludovic Courtès
953ab5030f
gnu: make-bootstrap: Simplify '%gcc-static'.
...
* gnu/packages/make-bootstrap.scm (%gcc-static): Add a bunch of
--disable configure flags. Remove useless 'inputs' field.
2013-11-20 19:01:27 +01:00
Ludovic Courtès
69f777d14c
gnu: make-bootstrap: Build libc and Guile without a .gnu_debuglink.
...
* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap, %guile-static):
Add 'outputs' field.
2013-11-03 22:35:17 +01:00
Ludovic Courtès
c9323eac74
gnu: make-bootstrap: Allow bit-reproducibility for 'glibc-stripped'.
...
* gnu/packages/make-bootstrap.scm (%glibc-stripped): Remove '.install'
and '..install.cmd' files.
2013-11-02 22:28:30 +01:00
Ludovic Courtès
55a5674f21
gnu: make-bootstrap: Add C++ header files to the bootstrap GCC.
...
* gnu/packages/make-bootstrap.scm (%gcc-stripped): Add $gcc/include/c++.
2013-11-02 15:17:08 +01:00
Ludovic Courtès
9ae7cee342
gnu: Switch to GCC 4.8 as the default compiler.
...
* gnu/packages/base.scm (gcc-boot0, cross-gcc-wrapper, gcc-final): Base
on GCC-4.8.
* gnu/packages/cross-base.scm (cross-gcc): Likewise.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc,
%gcc-static, %gcc-stripped): Likewise.
2013-11-01 13:04:38 +01:00
Ludovic Courtès
dfb52abbd6
Remove weirdnesses caused by 'letrec*' behavior of record field initializers.
...
* gnu/packages/bootstrap.scm (package-from-tarball): Remove '*' from
parameter names. Adjust accordingly.
* gnu/packages/linux-initrd.scm (expression->initrd): Use 'name'
directly, removing the 'name*' alias.
* gnu/packages/linux.scm (linux-libre-headers, linux-libre): Rename
'version*' to 'version'.
2013-10-15 23:42:58 +02:00
Ludovic Courtès
01eafd38fb
gnu: Use the 'patches' field of <origin>.
...
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-09 00:11:34 +02:00
Ludovic Courtès
e47185a4a7
gnu: make-bootstrap: Remove the `debug' output from the static Coreutils.
...
* gnu/packages/make-bootstrap.scm (%static-inputs)[coreutils]: Add
`outputs' field.
2013-08-29 00:05:03 +02:00
Ludovic Courtès
75ca2f4f47
gnu: make-bootstrap: Add a couple of synopses.
...
* gnu/packages/make-bootstrap.scm (%guile-static,
%guile-static-stripped): Add synopsis.
2013-08-21 11:44:16 +02:00
Ludovic Courtès
3e8f16ba91
gnu: guile-static-stripped: Make sure the resulting binary works.
...
* gnu/packages/make-bootstrap.scm (%guile-static-stripped): When
compiling natively, make sure the final binary works.
2013-08-21 11:38:51 +02:00
Ludovic Courtès
ffd2093440
gnu: make-bootstrap: Skip tests for the statically-linked gawk.
...
* gnu/packages/make-bootstrap.scm (%static-inputs)[gawk]: Add #:tests? #f.
2013-07-14 16:58:43 +02:00
Ludovic Courtès
3a4ebc1124
gnu: make-bootstrap: guile-static-stripped has no "debug" output.
...
* gnu/packages/make-bootstrap.scm (%guile-static-stripped): Add
`outputs' field.
2013-07-05 14:39:47 +02:00
Ludovic Courtès
5708485357
gnu: make-bootstrap: Fix cross compilation of binutils-static.
...
* gnu/packages/make-bootstrap.scm (%binutils-static): Inherit configure
flags from BINUTILS.
2013-06-26 17:23:56 +02:00
Ludovic Courtès
11acdf1747
gnu: make-bootstrap: Have %gcc-static actually static when cross building.
...
* gnu/packages/make-bootstrap.scm (%gcc-static): Pass `-static' through
`LDFLAGS' when cross-compiling.
2013-06-26 17:01:10 +02:00
Ludovic Courtès
a410a0105d
gnu: make-bootstrap: Allow cross-compilation of the bootstrap tarballs.
...
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc): Turn
`inputs' into a thunk. Add `native-inputs', and pass it to
`package-with-explicit-inputs'.
(%static-inputs): Add %BASH-STATIC as an input to gawk when cross
building.
(%glibc-stripped): When cross compiling,
use (glibc-for-bootstrap (cross-libc)) as the basis.
(%gcc-static): Base on GCC-4.7, not GCC-FINAL.
(tarball-package): TAR and XZ are native inputs. Choose the tarball
file name based on (%current-target-system) too.
2013-06-25 23:39:14 +02:00
Ludovic Courtès
d501fad11c
Merge branch 'master' into core-updates
...
Conflicts:
gnu/packages/make-bootstrap.scm
2013-06-20 23:51:00 +02:00
Ludovic Courtès
4db00e4210
gnu: libgc: Always build with -DUSE_LIBC_PRIVATES.
...
* gnu/packages/bdw-gc.scm (libgc): Add `arguments' field.
* gnu/packages/make-bootstrap.scm (%guile-static): Remove local `libgc'.
2013-06-20 23:47:22 +02:00
Ludovic Courtès
62751a5ddd
gnu: make-bootstrap: Abstract things with `package-with-relocatable-glibc'.
...
* gnu/packages/make-bootstrap.scm (%glibc-for-bootstrap): Replace with...
(glibc-for-bootstrap): ... this. New procedure.
(%standard-inputs-with-relocatable-glibc): Replace with...
(package-with-relocatable-glibc): ... this. New procedure.
(%static-inputs, %gcc-static, %guile-static): Use it.
2013-06-14 15:29:08 +02:00
Ludovic Courtès
af5cb60fec
gnu: make-bootstrap: Keep Perl as an input only when needed.
...
* gnu/packages/make-bootstrap.scm (%static-inputs)[coreutils]: Keep Perl
as an input only if it's an input of COREUTILS.
2013-06-14 14:50:33 +02:00
Ludovic Courtès
867df0eeb6
gnu: make-bootstrap: Fix %glibc-stripped.
...
* gnu/packages/make-bootstrap.scm (%glibc-stripped): Add `outputs' field.
2013-04-29 00:28:36 +02:00
Ludovic Courtès
c415f14538
gnu: make-bootstrap: Import (gnu packages gcc).
...
* gnu/packages/make-bootstrap.scm: Import (gnu packages gcc).
2013-03-27 23:47:54 +01:00
Ludovic Courtès
0228826262
gnu: guile-static: Change `name' field.
...
* gnu/packages/make-bootstrap.scm (%guile-static): Add `name' field with
`-static' suffix.
2013-02-16 00:30:25 +01:00
Ludovic Courtès
6956067b04
gnu: guile-static: Add bindings for low-level Linux syscalls.
...
* gnu/packages/make-bootstrap.scm (%guile-static): Add
`guile-linux-syscalls.patch' as an input, and use it.
* gnu/packages/patches/guile-linux-syscalls.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
2013-02-15 00:52:54 +01:00
Ludovic Courtès
e3b2cf4c7a
gnu: guile-static: Use libgc build with `USE_LIBC_PRIVATES'.
...
* gnu/packages/make-bootstrap.scm (%guile-static): Use libgc build with
CPPFLAGS=-DUSE_LIBC_PRIVATES.
* gnu/packages/bdw-gc.scm (libgc): Add TODO to always do it.
2013-02-14 01:12:24 +01:00
Ludovic Courtès
431f35f051
gnu: make-bootstrap: Fix `%binutils-static-stripped'.
...
* gnu/packages/make-bootstrap.scm (%binutils-static-stripped): Add
distinguishing `name' field. Add `output' field to have a single
"out" output (followup to 4873f8e
). Reported by Nikita.
2013-02-06 15:25:28 +01:00
Ludovic Courtès
21c203a53a
packages: Mark the `arguments' field of <package> as thunked.
...
* guix/packages.scm (<package>): Mark `arguments' as thunked.
(package-derivation): Adjust accordingly. Parameterize
%CURRENT-SYSTEM to SYSTEM, so that arguments can refer to it.
* guix/build-system/gnu.scm (package-with-explicit-inputs): Expect
`package-arguments' to always return a list, and return a list.
(package-with-extra-configure-variable): Likewise.
(static-package): Likewise.
* gnu/packages/base.scm (patch, findutils, gcc-4.7, binutils-boot0,
gcc-boot0, glibc-final-with-bootstrap-bash, cross-gcc-wrapper,
static-bash-for-glibc, binutils-final, gcc-final): Change `arguments'
from a lambda to a list, and use (%current-system) as needed.
(nix-system->gnu-triplet, boot-triplet): Have the first argument
default to (%current-system).
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Have `system'
default to (%current-system).
(%bootstrap-gcc): Change `arguments' to a list.
* gnu/packages/gawk.scm (gawk): Likewise.
* gnu/packages/m4.scm (m4): Likewise.
* gnu/packages/make-bootstrap.scm (%glibc-for-bootstrap): Likewise, and
expect `package-arguments' to return a list.
(%static-inputs, %gcc-static, tarball-package): Likewise.
* gnu/packages/ncurses.scm (ncurses): Likewise.
2013-01-23 23:33:09 +01:00
Ludovic Courtès
59a43334a9
distro: Rename (distro) to (gnu packages).
...
* distro.scm: Rename to...
* gnu/packages.scm: ... this. Update all users accordingly.
* Makefile.am (MODULES): Adjust accordingly.
* po/POTFILES.in: Likewise.
2013-01-18 01:07:53 +01:00
Ludovic Courtès
1ffa7090b9
distro: Change the module name space to (gnu ...).
...
* distro: Rename to...
* gnu: ... this. Update module names accordingly.
* Makefile.am: Adjust accordingly.
* po/POTFILES.in: Likewise.
* distro.scm: Search for files under /gnu/packages instead of
/distro/packages.
* gnu/packages/base.scm (ld-wrapper-boot3): Likewise.
2013-01-18 01:07:31 +01:00