Commit Graph

198 Commits

Author SHA1 Message Date
Ricardo Wurmus d1a914082b
Merge branch 'master' into core-updates 2017-05-24 12:05:47 +02:00
Ricardo Wurmus 9117448e76
gnu: Remove GCJ.
* gnu/packages/patches/gcj-arm-mode.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Delete it.
* gnu/packages/gcc.scm (javac.in, gcj, ecj-bootstrap): Remove variables.
2017-05-22 18:56:35 +02:00
Efraim Flashner 90027924b7
gnu: Add gfortran@7.
* gnu/packages/gcc.scm (gfortran@7): New variable.
2017-05-03 22:16:54 +03:00
Efraim Flashner 0c5658df96
gnu: Add gcc@7.
* gnu/packages/gcc.scm (gcc@7): New variable.
2017-05-03 16:35:37 +03:00
Efraim Flashner 4b13e28a8d
gnu: Add gfortran@6.
* gnu/packages/gcc.scm (gfortran@6): New variable.
2017-05-03 07:33:35 +03:00
Sergei Trofimovich bd54c5e3fa
gnu: gcc: Adjust for "alpha-linux".
This change allows cross-building packages by just
using --target=alpha-unknown-linux-gnu re2c:

  $ ./pre-inst-env guix build --target=alpha-unknown-linux-gnu re2c
  $ file /gnu/store/p1z9iszzb4ng0vzc535sc2ha33ax24l6-re2c-0.16/bin/re2c
  /gnu/store/p1z9iszzb4ng0vzc535sc2ha33ax24l6-re2c-0.16/bin/re2c: \
      ELF 64-bit LSB executable, Alpha (unofficial), version 1 (SYSV), dynamically linked, \
      interpreter /gnu/store/0z5d6z3hh41w7z5g2g82zlnwgpbj0i1a-glibc-cross-alpha-unknown-linux-gnu-2.24/lib/ld-linux.so.2, \
      for GNU/Linux 3.2.0, not stripped

GCC for alpha uses 'GLIBC_DYNAMIC_LINKER<TAB>"/lib/ld-linux.so.2"'

* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Fix GLIBC_DYNAMIC_LINKER
substitution when delimiter is a tab.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-13 14:40:48 +02:00
Marius Bakke 84157bb8bf
Merge branch 'master' into core-updates
Most conflicts are from 6fd52309b8.
2017-03-30 22:59:53 +02:00
Tobias Geerinckx-Rice 6fd52309b8
gnu: Use HTTPS for almost all gnu.org HOME-PAGEs.
All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS.
2017-03-30 01:30:16 +02:00
Ricardo Wurmus ce54f5db7d
gnu: gfortran-5: Move definition before "gfortran".
This is a follow-up to commit cb4805e34c.

* gnu/packages/gcc.scm (gfortran-5): Move definition.
2017-03-23 16:34:17 +01:00
Ricardo Wurmus cb4805e34c
gnu: gfortran: Change default version to gfortran-5.
* gnu/packages/gcc.scm (gfortran): Point to gfortran-5.
2017-03-23 15:37:24 +01:00
Efraim Flashner b773e9b005
gnu: gcc: Force Aarch64 to use /lib.
* gnu/packages/gcc.scm (gcc)[arguments]: On aarch64 replace force libdir
to be lib and not lib64.
2017-03-06 11:34:46 +02:00
Marius Bakke d71d6fe85c
gnu: gcc@5: Respect SOURCE_DATE_EPOCH in __DATE__ and __TIME__ macros.
* gnu/packages/patches/gcc-5-source-date-epoch-1.patch,
  gnu/packages/patches/gcc-5-source-date-epoch-2.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/gcc.scm (gcc-5)[source]: Use them.
2017-01-23 20:39:47 +01:00
Ludovic Courtès 33ae7d4385
gnu: gcc: Properly set the dynamic linker file name on GNU/Hurd.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: In 'pre-configure' phase,
match 'GNU_USER_DYNAMIC_LINKER' in addition to 'GLIBC_DYNAMIC_LINKER'.
This fixes GNU/Hurd cross-compilation as reported at
<https://lists.gnu.org/archive/html/guix-devel/2017-01/msg01731.html>.
2017-01-22 13:13:36 +01:00
Leo Famulari 74288230ea
Merge branch 'master' into core-updates 2017-01-06 17:14:41 -05:00
Carlos Sánchez de La Lama fc649d0aad
gnu: gcc: Adjust for PowerPC.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add powerpc specific
substitutions for dynamic linker and start files locations in
'pre-configure' phase.
* gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]: Add
"gcc/config/rs6000/sysv4.h" to the list of files in 'remove-lgcc_s'
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-01-04 23:55:36 +01:00
Ludovic Courtès 9af076245f
gnu: gfortran: Remove non-'eq?' duplicate of gfortran@4.9.
* gnu/packages/gcc.scm (gfortran): Turn into an alias for GFORTRAN-4.9.
2017-01-02 14:54:24 +01:00
Efraim Flashner 5d0ebcc4cf
gnu: gcc: Update to 6.3.0.
* gnu/packages/gcc.scm (gcc): Update to 6.3.0.
2016-12-22 02:53:24 +02:00
Ludovic Courtès b810a85019
gnu: Default to GCC 5.
This reinstates and adjusts
commit e3d0fcbf7e.

* gnu/packages/patches/gcc-libiberty-printf-decl.patch: New file.
* gnu/packages/gcc.scm (gcc-5)[source]: Use it.
[patches]: Add "gcc-arm-bug-71399.patch".
(gcc): Switch to GCC-5.
* gnu/packages/commencement.scm (libstdc++-boot0): New variable.
(gcc-boot0)[inputs]: Add it.
(gcc-toolchain-4.9): Switch to GCC-4.9.
(gcc-toolchain-5): Switch to GCC-FINAL.
* gnu/local.mk (dist_patch_DATA): Add 'gcc-libiberty-printf-decl.patch'.
2016-12-13 00:40:57 +01:00
Ricardo Wurmus 7edd195ac8
gnu: gcj: Conditionally apply patch for armhf.
* gnu/packages/gcc.scm (gcj)[source]: Inherit from "gcc" package.
[native-inputs]: Conditionally add arm-patch.
[arguments]: Conditionally add phase "apply-arm-patch".
2016-11-30 16:03:11 +01:00
Ricardo Wurmus 1bf5a7e920
gnu: gcj: Inherit source field from "gcc".
* gnu/packages/gcc.scm (gcj)[source]: Inherit source from "gcc" package.
2016-11-27 19:00:57 +01:00
Leo Famulari cd569f0d29
gnu: gcj: Fix typo in patch filename.
This is a followup to commit dbf8f84f15.

Reported by quigonjinn on #guix.

* gnu/packages/gcc.scm (gcj)[source]: Fix typo.
2016-11-27 10:57:33 -05:00
Ricardo Wurmus dbf8f84f15
gnu: gcj: Fix build on armhf.
* gnu/packages/patches/gcj-arm-mode.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/gcc.scm (gcj): Add patch.
[arguments]: Delete failing tests.
2016-11-27 10:04:57 +01:00
Ludovic Courtès 966a543b36
gnu: Use 'mirror://' URLs in several places.
* gnu/packages/emacs.scm (m17n-lib)[source]: Use 'mirror://'.
* gnu/packages/games.scm (extremetuxracer)[source]: Likewise.
* gnu/packages/gcc.scm (%gcc-infrastructure): Likewise.
* gnu/packages/gtk.scm (python2-pygtk)[source]: Likewise.
* gnu/packages/perl.scm (perl)[source]: Likewise.
* gnu/packages/telephony.scm (exosip)[source]: Likewise.
* gnu/packages/wm.scm (xmonad)[source]: Likewise.
(ghc-xmonad-contrib)[source]: Likewise.
2016-11-19 18:44:54 +01:00
Ludovic Courtès 2cab1dd58b
Merge branch 'core-updates' 2016-11-13 00:34:16 +01:00
Ludovic Courtès 8033772363
gnu: gcc@5, gcc@6: Work around use of 'movabs' for /gnu/store strings.
Partly addresses <http://bugs.gnu.org/24703>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/gcc-strmov-store-file-names.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5)[sources](patches): Add it.
(gcc-6)[sources](patches): Add it.
2016-11-09 21:24:44 +01:00
Efraim Flashner 72246dc029
gnu: gcc@4.7: Build with texinfo@5.
* gnu/packages/gcc.scm (gcc@4.7)[native-inputs]: Use texinfo@5 in place
of texinfo@6.
2016-11-08 16:24:29 +02:00
Mark H Weaver abcf4858cd
Merge branch 'master' into core-updates 2016-10-12 09:28:14 -04:00
Efraim Flashner a9c958b5aa
gnu: gcj: Switch dejagnu test command.
* gnu/packages/gcc.scm (gcj)[arguments]: Switch the depreciated dejagnu
command 'absolute' for the new testing command 'file normalize'.
2016-10-10 00:16:56 +03:00
Ludovic Courtès e052c7e1d5
gnu: gcc@4.8: Use an older Texinfo.
* gnu/packages/gcc.scm (gcc-4.8)[native-inputs]: New field.
(gcc-4.9): Inherit from GCC-4.7.
2016-10-07 22:12:16 +02:00
Efraim Flashner 2ff746dcd2
gnu: isl: Add support for aarch64.
* gnu/packages/gcc.scm (isl)[source]: Add patch.
* gnu/packages/patches/isl-0.11.1-aarch64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2016-10-07 12:26:44 +03:00
Leo Famulari b19c7989b7
Merge branch 'master' into core-updates 2016-10-05 19:15:25 -04:00
Ludovic Courtès d35f8c7cb6
gnu: gnu-c-manual: Update to 0.2.5.
* gnu/packages/gcc.scm (gnu-c-manual): Update to 0.2.5.
2016-10-04 16:37:59 +02:00
Ludovic Courtès e7e43727ce
gnu: gcc: Work around ARM bootstrapping failure (GCC bug #71399).
* gnu/packages/patches/gcc-arm-bug-71399.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-4.9)[source]: Use it.
2016-09-12 18:20:50 +02:00
Efraim Flashner b3d2be945d
Merge remote-tracking branch 'origin/master' into core-updates 2016-08-29 23:46:33 +03:00
Efraim Flashner c524fda4dc
gnu: gcc-6: Update to 6.2.0.
* gnu/packages/gcc.scm (gcc-6): Update to 6.2.0.
2016-08-23 08:26:28 +03:00
Efraim Flashner 8c8b2bf3a3
gnu: gcc@5: Update to 5.4.0.
* gnu/packages/gcc.scm (gcc@5): Update to 5.4.0.
2016-08-15 10:42:27 +03:00
Efraim Flashner b08474974f
gnu: gcc@4.9: Update to 4.9.4.
* gnu/packages/gcc.scm (gcc@4.9): Update to 4.9.4.
2016-08-15 10:42:26 +03:00
Ludovic Courtès 7912677c1e
gnu: gcc: Reintroduce dependency on Texinfo.
This partly reverts 868c13c53a, which
introduced a regression whereby gcc@5 and gcc@6 would no longer contain
their Info manual.

* gnu/packages/gcc.scm (gcc-5)[native-inputs]: Remove.
2016-08-04 19:38:33 +02:00
Ludovic Courtès 9dee9e8ffe
Revert "gnu: Default to GCC 5."
This reverts commit e3d0fcbf7e.
This is a temporary measure until GCC 5 builds on ARM, see:

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71399
2016-06-07 10:52:04 +02:00
Ludovic Courtès bc73a84398
Merge branch 'master' into core-updates 2016-05-23 15:02:26 +02:00
Ricardo Wurmus 987a118334
gnu: Add default gcc-objc++.
* gnu/packages/gcc.scm (gcc-objc++): New variable.
2016-05-20 15:19:48 +02:00
Ricardo Wurmus a5948c0d41
gnu: Add gcc-objc++-4.9.
* gnu/packages/gcc.scm (gcc-objc++-4.9): New variable.
2016-05-20 15:19:48 +02:00
Ricardo Wurmus 8b196ad208
gnu: Add default gcc-objc.
* gnu/packages/gcc.scm (gcc-objc): New variable.
2016-05-20 15:19:48 +02:00
Ricardo Wurmus 2d69c1616d
gnu: Add gcc-objc-4.9.
* gnu/packages/gcc.scm (gcc-objc-4.9): New variable.
2016-05-20 15:19:33 +02:00
Leo Famulari eb74eb4199
Merge branch 'master' into core-updates 2016-05-13 02:08:11 -04:00
Mark H Weaver 99828fa788
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923de.

* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-12 20:18:15 -04:00
Ludovic Courtès e760ec4187
gnu: gcc: Add 6.1.0.
* gnu/packages/gcc.scm (gcc-6): New variable.
* gnu/packages/commencement.scm (gcc-toolchain-6): New variable.
2016-05-03 17:45:29 +02:00
Mathieu Lirzin c3052d6bcd Merge branch 'master' into core-updates 2016-05-02 17:53:40 +02:00
Ludovic Courtès e3d0fcbf7e
gnu: Default to GCC 5.
* gnu/packages/patches/gcc-libiberty-printf-decl.patch: New file.
* gnu/packages/gcc.scm (gcc-5)[source]: Use it.
(gcc): Switch to GCC-5.
* gnu/packages/commencement.scm (libstdc++-boot0): New variable.
(gcc-boot0)[inputs]: Add it.
[native-inputs]: Remove.
(gcc-toolchain-4.9): Switch to GCC-4.9.
(gcc-toolchain-5): Switch to GCC-FINAL.
* gnu-system.am (dist_patch_DATA): Add 'gcc-libiberty-printf-decl.patch'.
2016-04-24 22:51:07 +02:00
Ludovic Courtès 868c13c53a gnu: gcc-5: Remove dependency on Texinfo.
* gnu/packages/gcc.scm (gcc-5): Set 'native-inputs' to '().
2016-04-24 21:55:37 +02:00
Alex Kost fc1adab148 gnu: packages: Use 'search-patches' everywhere.
* gnu/packages/abiword.scm: Use 'search-patches' for 'patches' field.
* gnu/packages/acl.scm: Likewise.
* gnu/packages/admin.scm: Likewise.
* gnu/packages/algebra.scm: Likewise.
* gnu/packages/animation.scm: Likewise.
* gnu/packages/apr.scm: Likewise.
* gnu/packages/audacity.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/autotools.scm: Likewise.
* gnu/packages/avahi.scm: Likewise.
* gnu/packages/backup.scm: Likewise.
* gnu/packages/base.scm: Likewise.
* gnu/packages/bash.scm: Likewise.
* gnu/packages/bioinformatics.scm: Likewise.
* gnu/packages/cdrom.scm: Likewise.
* gnu/packages/ci.scm: Likewise.
* gnu/packages/cmake.scm: Likewise.
* gnu/packages/cpio.scm: Likewise.
* gnu/packages/cross-base.scm: Likewise.
* gnu/packages/dico.scm: Likewise.
* gnu/packages/doxygen.scm: Likewise.
* gnu/packages/ebook.scm: Likewise.
* gnu/packages/elf.scm: Likewise.
* gnu/packages/emacs.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/firmware.scm: Likewise.
* gnu/packages/flashing-tools.scm: Likewise.
* gnu/packages/fltk.scm: Likewise.
* gnu/packages/ftp.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gawk.scm: Likewise.
* gnu/packages/gcc.scm: Likewise.
* gnu/packages/gd.scm: Likewise.
* gnu/packages/ghostscript.scm: Likewise.
* gnu/packages/glib.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/gnucash.scm: Likewise.
* gnu/packages/gnunet.scm: Likewise.
* gnu/packages/gnupg.scm: Likewise.
* gnu/packages/gnuzilla.scm: Likewise.
* gnu/packages/graphics.scm: Likewise.
* gnu/packages/grub.scm: Likewise.
* gnu/packages/gtk.scm: Likewise.
* gnu/packages/guile.scm: Likewise.
* gnu/packages/icu4c.scm: Likewise.
* gnu/packages/idutils.scm: Likewise.
* gnu/packages/image.scm: Likewise.
* gnu/packages/imagemagick.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/ldc.scm: Likewise.
* gnu/packages/libcanberra.scm: Likewise.
* gnu/packages/libevent.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/libunwind.scm: Likewise.
* gnu/packages/libusb.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/lirc.scm: Likewise.
* gnu/packages/llvm.scm: Likewise.
* gnu/packages/lsh.scm: Likewise.
* gnu/packages/lua.scm: Likewise.
* gnu/packages/lxqt.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/mcrypt.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/mit-krb5.scm: Likewise.
* gnu/packages/mp3.scm: Likewise.
* gnu/packages/multiprecision.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/ninja.scm: Likewise.
* gnu/packages/nvi.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/orpheus.scm: Likewise.
* gnu/packages/ots.scm: Likewise.
* gnu/packages/parallel.scm: Likewise.
* gnu/packages/patchutils.scm: Likewise.
* gnu/packages/pcre.scm: Likewise.
* gnu/packages/pdf.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/plotutils.scm: Likewise.
* gnu/packages/polkit.scm: Likewise.
* gnu/packages/pulseaudio.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/qemu.scm: Likewise.
* gnu/packages/qt.scm: Likewise.
* gnu/packages/ratpoison.scm: Likewise.
* gnu/packages/rdf.scm: Likewise.
* gnu/packages/readline.scm: Likewise.
* gnu/packages/rush.scm: Likewise.
* gnu/packages/scheme.scm: Likewise.
* gnu/packages/screen.scm: Likewise.
* gnu/packages/sdl.scm: Likewise.
* gnu/packages/slim.scm: Likewise.
* gnu/packages/ssh.scm: Likewise.
* gnu/packages/tcl.scm: Likewise.
* gnu/packages/tcsh.scm: Likewise.
* gnu/packages/texinfo.scm: Likewise.
* gnu/packages/tls.scm: Likewise.
* gnu/packages/tor.scm: Likewise.
* gnu/packages/tv.scm: Likewise.
* gnu/packages/valgrind.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/vpn.scm: Likewise.
* gnu/packages/vtk.scm: Likewise.
* gnu/packages/w3m.scm: Likewise.
* gnu/packages/web.scm: Likewise.
* gnu/packages/wicd.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xfce.scm: Likewise.
* gnu/packages/xiph.scm: Likewise.
* gnu/packages/xml.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.
* gnu/packages/zip.scm: Likewise.
2016-04-14 10:38:21 +03:00
Mark H Weaver ce362de86e gnu: Fix definitions of gcc-toolchain-4.8 and gcc-toolchain-4.9.
* gnu/packages/commencement.scm (gcc-toolchain-4.8): Use gcc-4.8,
not gcc-final.
(gcc-toolchain-4.9): Use gcc-final, not gcc-4.9.
* gnu/packages/gcc.scm (gcc): Add reminder comment for the future.
2016-03-16 18:06:52 -04:00
Ricardo Wurmus 82f145ef7a gnu: custom-gcc: Delete broken or conflicting executables.
* gnu/packages/gcc.scm (custom-gcc)[arguments]: Add phase to remove
executables that are non-functional or conflict with the executables of
"gcc".
2016-03-10 07:12:27 +01:00
Efraim Flashner c8732e192e gnu: gccgo: Update to 4.9.
* gnu/packages/gcc.scm (gccgo): Update to 4.9.
2016-02-18 20:52:02 +02:00
Ludovic Courtès 53334dd6e9 Merge branch 'master' into core-updates 2016-01-03 14:53:03 +01:00
Ludovic Courtès 009b53fd1c gnu: gcc: Prefer language-specific variables over 'CPATH'.
Suggested by Andy Wingo <wingo@igalia.com>.
Fixes <http://bugs.gnu.org/22186>.

* gnu/packages/gcc.scm (gcc-4.7)[native-search-paths]: Remove 'CPATH';
add 'C_INCLUDE_PATH' and 'CPLUS_INCLUDE_PATH' instead.
* gnu/packages/gcc.scm (custom-gcc): Add 'search-paths' parameter and
honor it.
(%generic-search-paths): New variable.
(gfortran-4.8, gfortran-4.9, gfortran, gfortran-5, gccgo-4.8): Pass
%GENERIC-SEARCH-PATHS to 'custom-gcc'.
(gcj)[native-search-paths]: New field.
(gcc-objc-4.8, gcc-objc++-4.8): Use 'OBJC_INCLUDE_PATH' and
'OBJCPLUS_INCLUDE_PATH', respectively.
2015-12-18 21:38:49 +01:00
Efraim Flashner b431e3a08d gnu: gcc-5: Update to 5.3.0.
* gnu/packages/gcc.scm (gcc-5): Update to 5.3.0.
2015-12-14 07:32:01 +02:00
Ludovic Courtès e82e55e58c Merge branch 'master' into core-updates 2015-12-12 11:48:46 +01:00
Ludovic Courtès 98bd851ee8 gnu: gcc: Use the system zlib.
* gnu/packages/gcc.scm (gcc-4.7) <configure-flags>: Pass
'--with-system-zlib'.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove
'--with-system-zlib' from the configure flags.
* gnu/packages/commencement.scm (zlib-final): New variable.
(gcc-final)[arguments]: Add ZLIB-FINAL to #:allowed-references.
Pass -L and -Wl,-rpath for zlib in LDFLAGS, as a configure flag.
[inputs]: Add LD-WRAPPER-BOOT3 and ZLIB-FINAL.
2015-12-11 23:49:10 +01:00
Ricardo Wurmus e61d9e3966 gnu: Add gfortran 5.
* gnu/packages/gcc.scm (gfortran-5): New variable.
2015-11-11 17:25:04 +01:00
Ricardo Wurmus c364a287ad gnu: gcj: Run libjava tests.
* gnu/packages/gcc.scm (gcj)[native-inputs]: Add dejagnu.
  [arguments]: Enable tests and set test target to
  "check-target-libjava".
2015-10-27 16:03:30 +01:00
Ricardo Wurmus 397dbde8ff gnu: gcj-4.8, gcj: Update to default GCC version.
* gnu/packages/gcc.scm (gcj-4.8): Inherit from "gcc" package and rename
  variable to...
  (gcj): ...this new variable.
  (ecj-bootstrap-4.8): Rename variable to...
  (ecj-bootstrap): ...this, updating to version 4.9.
* gnu/packages/java.scm (icedtea6)[native-inputs]: Replace "gcj-4.8"
  with "gcj".
* gnu/packages/music.scm (tuxguitar)[native-inputs]: Likewise.
2015-10-13 13:45:51 +02:00
Marek Benc 0cce99684a gnu: gcc: Also substitute the dynamic linker name for GNU/Hurd.
* gnu/packages/gcc.scm (gcc-4.7): Also substitute the dynamic linker name
  for GNU (ie. Hurd) systems.

Signed-off-by: Manolis Ragkousis <manolis837@gmail.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-04 13:50:38 +02:00
Ludovic Courtès b7c7c03eb5 utils: Add 'strip-store-file-name'.
* guix/build/utils.scm (strip-store-file-name): New procedure.
* guix/build/emacs-build-system.scm (store-directory->name-version):
  Remove.  Update callers to use 'strip-store-file-name'.
* gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use
  'strip-store-file-name' instead of 'string-drop'.
2015-08-30 18:38:08 +02:00
Mark H Weaver 9a7143b707 gnu: gcc-5: Update to 5.2.0.
* gnu/packages/gcc.scm (gcc-5): Update to 5.2.0.  Remove
  gcc-arm-link-spec-fix.patch from patches.
2015-07-19 23:20:39 -04:00
Mark H Weaver 629f4d2e6e gnu: gcc-5.1, gcc-toolchain-5.1, libstdc++-doc-5.1: Rename to *-5.
This reflects the new version numbering scheme for GCC 5 and up.
See <https://gcc.gnu.org/develop.html>.

* gnu/packages/gcc.scm (gcc-5.1): Rename to ...
  (gcc-5): ... this.
  (libstdc++-doc-5.1): Rename to ...
  (libstdc++-doc-5): ... this, and use gcc-5.
* gnu/packages/commencement.scm (gcc-toolchain-5.1): Rename to ...
  (gcc-toolchain-5): ... this, and use gcc-5.
* build-aux/hydra/gnu-system.scm (%core-packages): Use gcc-5.
2015-07-19 23:20:39 -04:00
Mark H Weaver 1b4e48d498 Merge branch 'master' into core-updates 2015-07-19 18:12:34 -04:00
Ludovic Courtès 50c7a1e297 gnu: Add gnu-c-manual.
* gnu/packages/gcc.scm (gnu-c-manual): New variable.
2015-07-19 22:27:37 +02:00
Mark H Weaver 35995769b5 Merge branch 'master' into core-updates 2015-07-15 15:10:32 -04:00
Ludovic Courtès 98b385d15b gnu: Add 'libstdc++-doc'.
* gnu/packages/gcc.scm (make-libstdc++-doc): New procedure.
  (libstdc++-doc-4.9, libstdc++-doc-5.1): New variables.
2015-07-12 23:10:43 +02:00
Mark H Weaver aa7251176f gnu: Require NEON on armhf.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): On armhf,
  include --with-fpu=neon.
* doc/guix.texi (GNU Distribution): Document that our armhf port
  requires NEON.
2015-07-11 19:06:20 -04:00
Mark H Weaver 6f317fa365 gnu: gcc-4.9: Update to 4.9.3.
* gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.3.  Remove
  "gcc-arm-link-spec-fix.patch" from patches.
2015-07-10 23:47:07 -04:00
Ricardo Wurmus 2b6b6d13e7 gnu: Add libiberty.
* gnu/packages/gcc.scm (make-libiberty, libiberty): New variables.
2015-06-29 21:01:13 +02:00
Ludovic Courtès ab5f49cf6a gnu: gcc-4.8: Update to 4.8.5.
* gnu/packages/gcc.scm (gcc-4.8): Update to 4.8.5.
2015-06-29 14:42:10 +02:00
Ricardo Wurmus eed67cbb8f gnu: Add default GCC and default gfortran.
* gnu/packages/gcc.scm (gcc): New variable.
* gnu/packages/gcc.scm (gfortran): New variable.
2015-06-25 18:28:54 +02:00
Ricardo Wurmus c69a8b7b1b gnu: Add gfortran 4.9.
* gnu/packages/gcc.scm (gfortran-4.9): New variable.
2015-06-24 12:03:00 +02:00
Mark H Weaver bf76d98789 Merge branch 'master' into core-updates 2015-06-21 14:30:22 -04:00
Ludovic Courtès d0abf829a9 gnu: Add libstdc++ as a standalone package.
* gnu/packages/gcc.scm (make-libstdc++): New procedure.
  (libstdc++-4.9): New variable.
* gnu/packages/commencement.scm (libstdc++): Add TODO comment.
2015-06-19 17:23:47 +02:00
Ludovic Courtès ec29907160 gnu: gcc: Build libsanitizer's bundled libbacktrace without -Werror.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Also patch
  libsanitizer/libbacktrace/Makefile.in.
2015-06-14 14:41:01 +02:00
Mark H Weaver 1492801655 Merge branch 'master' into core-updates 2015-06-10 17:50:27 -04:00
Ludovic Courtès d0b62698c9 gnu: gcc: Build libbacktrace without -Werror.
* gnu/packages/gcc.scm (gcc-4.7)[arguments] <pre-configure>: Remove -Werror
  from libbacktrace/configure.
2015-06-09 22:32:15 +02:00
Ludovic Courtès 9063ef0f79 gnu: gcc: Add "debug" output, debugging symbols of libraries.
* gnu/packages/gcc.scm (gcc-4.7)[install-target]: Remove.
  [outputs]: Add "debug".
  [arguments]: Remove #:strip-binaries?.  Remove 'install' phase.
2015-06-09 22:32:15 +02:00
Ludovic Courtès 811974925d gnu: gcc: Do not add -rpath=LIBDIR/lib64 to the "lib" spec.
* gnu/packages/gcc.scm (gcc-4.7): Remove unneeded LIBDIR/lib64 from
  GNU_USER_TARGET_LIB_SPEC.
2015-06-09 22:32:15 +02:00
Ludovic Courtès 2068559ba0 gnu: gcc: Move patch upstream status in the patch itself.
* gnu/packages/patches/gcc-arm-link-spec-fix.patch: Add bug and patch URLs.
* gnu/packages/gcc.scm (gcc-4.8): Remove them.
2015-06-04 09:30:20 +02:00
Ricardo Wurmus ad12c43e97 gnu: gcj: Add $libdir to RUNPATH.
* gnu/packages/gcc.scm (gcj)[arguments]: Add build phase to add library output
  directory to RUNPATH.
2015-05-08 13:14:36 +02:00
Ludovic Courtès 167a05aabc gnu: gcc-5.1: Add specific libvtv patch.
* gnu/packages/patches/gcc-5.0-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5.1)[source]: Use it.
2015-05-04 00:24:21 +02:00
Ricardo Wurmus 5f6887e839 gnu: gcj: Remove broken symlink and conflicting files.
* gnu/packages/gcc.scm (gcj)[arguments]: Add a build phase to remove a broken
  symlink and generic stump binaries.
2015-05-02 21:06:52 +02:00
Ludovic Courtès 9e7594027d gnu: gcc: Add link to upstream bug report.
* gnu/packages/gcc.scm (gcc-4.8): Add link to bug report in comment.
2015-04-30 13:43:55 +02:00
Ludovic Courtès 7e35b9dd3d gnu: gcc: Add $libdir to the RUNPATH of libvtv.so.
* gnu/packages/gcc.scm (gcc-4.9): Inherit from GCC-4.8.
  [source]: Add 'gcc-libvtv-runpath.patch'.
  (gcc-5.1): Inherit from GCC-4.9.
  [source]: Use patches from GCC-4.9.
* gnu/packages/patches/gcc-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-04-30 13:31:59 +02:00
Andreas Enge 4ac0d6444d Merge branch 'master' into core-updates. 2015-04-26 20:08:49 +02:00
Mark H Weaver 60e2d5fe82 gnu: Add gcc-5.1.0 and gcc-toolchain-5.1.0.
* gnu/packages/gcc.scm (gcc-5.1): New variable.
* gnu/packages/commencement.scm (gcc-toolchain-5.1): New variable.
2015-04-23 01:06:40 -04:00
Ludovic Courtès d485ebba42 gnu: gcc: Do not always disable RUNPATH validation.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Remove explicit
  #:validate-runpath? #f.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove case for
  #:validate-runpath?.
  (gcc-final)[arguments]: Add literal #:validate-runpath? #f.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Remove case for
  #:validate-runpath?.
2015-04-23 00:06:37 +02:00
Ludovic Courtès 21e583def3 gnu: gcc: Add a RUNPATH to libstdc++.so so that it finds libgcc_s.so.
Fixes <http://bugs.gnu.org/20358>.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add 'substitute*' form for
  "libstdc++-v3/src/Makefile.in".
2015-04-23 00:06:37 +02:00
Ludovic Courtès 38cf2ba084 gnu: Remove all #:select from (gnu packages ...) modules.
This works around Guile bug <http://bugs.gnu.org/15540>.
Reported by Andreas Enge <andreas@enge.fr>.

* gnu/packages/engineering.scm: Don't #:select from (gnu packages ...).
* gnu/packages/gcc.scm: Likewise.
* gnu/packages/package-management.scm: Likewise.
* gnu/packages/photo.scm: Likewise.
* gnu/packages/pulseaudio.scm: Likewise.
* gnu/packages/moe.scm: Likewise, and #:select from (guix licenses)
  instead.
2015-04-20 15:50:59 +02:00
Mark H Weaver 1421afa94a gnu: gcc: Do not pass -dynamic-linker to linker when !shared on arm.
Fixes <http://bugs.gnu.org/20102>.

* gnu/packages/patches/gcc-arm-link-spec-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-4.8, gcc-4.9): Add patch.
* gnu/packages/cross-base.scm (cross-gcc): Preserve patches from gcc-4.8.

Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
2015-04-09 01:58:04 -04:00
Ludovic Courtès dfc8bb2071 gnu: gcc: Disable RUNPATH validation for native builds.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Pass
  #:validate-runpath? #f.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Override
  #:validate-runpath? with 'substitute-keyword-arguments'.
  (gcc-final)[arguments]: Likewise.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise.
2015-04-07 22:28:36 +02:00
Ludovic Courtès 7e3c9f741b gnu: gcc: Fix libgcc_s directory in RUNPATH for cross-compiled binaries.
* gnu/packages/gcc.scm (gcc-4.7): Add 'libdir' procedure.  Use it to
  determine the right libdir, including when cross-compiling.  This
  fixes a bug whereby the RUNPATH of cross-compiled binaries would be
  set to $crossgcc/lib instead of $crossgcc/$triplet/lib.
  See <http://hydra.gnu.org/build/354389/nixlog/1/raw> for an example.
2015-04-02 10:26:15 +02:00
Ludovic Courtès 61af1014c6 gnu: gcj: Use a versioned URL for 'javac.in'.
* gnu/packages/gcc.scm (javac.in): Use a ViewVC URL that specifies the
  CVS revision.
2015-03-08 22:27:20 +01:00
Andreas Enge ed2b1c4f55 gnu: gcj: Move javac.in from a file in the distribution to an origin.
* gnu/packages/javac.in: Delete file.
* gnu-system.am (MISC_DISTRO_FILES): Delete.
* gnu/packages/gcc.scm (javac.in): New variable.
  (gcj-4.8): Use it as an input.
2015-03-07 10:45:47 +01:00
Andreas Enge e2808a4ac6 gnu: gcc: Add copyright line. 2015-03-07 10:44:58 +01:00