aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/gcc.scm
Commit message (Collapse)AuthorAge
* gnu: gccgo: Update to 4.9.Efraim Flashner2016-02-18
| | | | * gnu/packages/gcc.scm (gccgo): Update to 4.9.
* Merge branch 'master' into core-updatesLudovic Courtès2016-01-03
|\
| * gnu: gcc-5: Update to 5.3.0.Efraim Flashner2015-12-14
| | | | | | | | * gnu/packages/gcc.scm (gcc-5): Update to 5.3.0.
* | gnu: gcc: Prefer language-specific variables over 'CPATH'.Ludovic Courtès2015-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'master' into core-updatesLudovic Courtès2015-12-12
|\|
| * gnu: Add gfortran 5.Ricardo Wurmus2015-11-11
| | | | | | | | * gnu/packages/gcc.scm (gfortran-5): New variable.
| * gnu: gcj: Run libjava tests.Ricardo Wurmus2015-10-27
| | | | | | | | | | | | * gnu/packages/gcc.scm (gcj)[native-inputs]: Add dejagnu. [arguments]: Enable tests and set test target to "check-target-libjava".
* | gnu: gcc: Use the system zlib.Ludovic Courtès2015-12-11
|/ | | | | | | | | | | * 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.
* gnu: gcj-4.8, gcj: Update to default GCC version.Ricardo Wurmus2015-10-13
| | | | | | | | | | | * 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.
* gnu: gcc: Also substitute the dynamic linker name for GNU/Hurd.Marek Benc2015-09-04
| | | | | | | | * 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>
* utils: Add 'strip-store-file-name'.Ludovic Courtès2015-08-30
| | | | | | | | * 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'.
* gnu: gcc-5: Update to 5.2.0.Mark H Weaver2015-07-19
| | | | | * gnu/packages/gcc.scm (gcc-5): Update to 5.2.0. Remove gcc-arm-link-spec-fix.patch from patches.
* gnu: gcc-5.1, gcc-toolchain-5.1, libstdc++-doc-5.1: Rename to *-5.Mark H Weaver2015-07-19
| | | | | | | | | | | | | 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.
* Merge branch 'master' into core-updatesMark H Weaver2015-07-19
|\
| * gnu: Add gnu-c-manual.Ludovic Courtès2015-07-19
| | | | | | | | * gnu/packages/gcc.scm (gnu-c-manual): New variable.
* | Merge branch 'master' into core-updatesMark H Weaver2015-07-15
|\|
| * gnu: Add 'libstdc++-doc'.Ludovic Courtès2015-07-12
| | | | | | | | | | * gnu/packages/gcc.scm (make-libstdc++-doc): New procedure. (libstdc++-doc-4.9, libstdc++-doc-5.1): New variables.
* | gnu: Require NEON on armhf.Mark H Weaver2015-07-11
| | | | | | | | | | | | | | * 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.
* | gnu: gcc-4.9: Update to 4.9.3.Mark H Weaver2015-07-10
|/ | | | | * gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.3. Remove "gcc-arm-link-spec-fix.patch" from patches.
* gnu: Add libiberty.Ricardo Wurmus2015-06-29
| | | | * gnu/packages/gcc.scm (make-libiberty, libiberty): New variables.
* gnu: gcc-4.8: Update to 4.8.5.Ludovic Courtès2015-06-29
| | | | * gnu/packages/gcc.scm (gcc-4.8): Update to 4.8.5.
* gnu: Add default GCC and default gfortran.Ricardo Wurmus2015-06-25
| | | | | * gnu/packages/gcc.scm (gcc): New variable. * gnu/packages/gcc.scm (gfortran): New variable.
* gnu: Add gfortran 4.9.Ricardo Wurmus2015-06-24
| | | | * gnu/packages/gcc.scm (gfortran-4.9): New variable.
* Merge branch 'master' into core-updatesMark H Weaver2015-06-21
|\
| * gnu: Add libstdc++ as a standalone package.Ludovic Courtès2015-06-19
| | | | | | | | | | | | * gnu/packages/gcc.scm (make-libstdc++): New procedure. (libstdc++-4.9): New variable. * gnu/packages/commencement.scm (libstdc++): Add TODO comment.
* | gnu: gcc: Build libsanitizer's bundled libbacktrace without -Werror.Ludovic Courtès2015-06-14
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Also patch libsanitizer/libbacktrace/Makefile.in.
* | Merge branch 'master' into core-updatesMark H Weaver2015-06-10
|\|
| * gnu: gcj: Add $libdir to RUNPATH.Ricardo Wurmus2015-05-08
| | | | | | | | | | * gnu/packages/gcc.scm (gcj)[arguments]: Add build phase to add library output directory to RUNPATH.
| * gnu: gcc-5.1: Add specific libvtv patch.Ludovic Courtès2015-05-04
| | | | | | | | | | | | * 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.
| * gnu: gcj: Remove broken symlink and conflicting files.Ricardo Wurmus2015-05-02
| | | | | | | | | | * gnu/packages/gcc.scm (gcj)[arguments]: Add a build phase to remove a broken symlink and generic stump binaries.
* | gnu: gcc: Build libbacktrace without -Werror.Ludovic Courtès2015-06-09
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.7)[arguments] <pre-configure>: Remove -Werror from libbacktrace/configure.
* | gnu: gcc: Add "debug" output, debugging symbols of libraries.Ludovic Courtès2015-06-09
| | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.7)[install-target]: Remove. [outputs]: Add "debug". [arguments]: Remove #:strip-binaries?. Remove 'install' phase.
* | gnu: gcc: Do not add -rpath=LIBDIR/lib64 to the "lib" spec.Ludovic Courtès2015-06-09
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.7): Remove unneeded LIBDIR/lib64 from GNU_USER_TARGET_LIB_SPEC.
* | gnu: gcc: Move patch upstream status in the patch itself.Ludovic Courtès2015-06-04
|/ | | | | * gnu/packages/patches/gcc-arm-link-spec-fix.patch: Add bug and patch URLs. * gnu/packages/gcc.scm (gcc-4.8): Remove them.
* gnu: gcc: Add link to upstream bug report.Ludovic Courtès2015-04-30
| | | | * gnu/packages/gcc.scm (gcc-4.8): Add link to bug report in comment.
* gnu: gcc: Add $libdir to the RUNPATH of libvtv.so.Ludovic Courtès2015-04-30
| | | | | | | | | * 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.
* Merge branch 'master' into core-updates.Andreas Enge2015-04-26
|\
| * gnu: Add gcc-5.1.0 and gcc-toolchain-5.1.0.Mark H Weaver2015-04-23
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-5.1): New variable. * gnu/packages/commencement.scm (gcc-toolchain-5.1): New variable.
* | gnu: gcc: Do not always disable RUNPATH validation.Ludovic Courtès2015-04-23
| | | | | | | | | | | | | | | | | | | | * 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?.
* | gnu: gcc: Add a RUNPATH to libstdc++.so so that it finds libgcc_s.so.Ludovic Courtès2015-04-23
|/ | | | | | | | 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".
* gnu: Remove all #:select from (gnu packages ...) modules.Ludovic Courtès2015-04-20
| | | | | | | | | | | | | 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.
* gnu: gcc: Do not pass -dynamic-linker to linker when !shared on arm.Mark H Weaver2015-04-09
| | | | | | | | | | | 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>
* gnu: gcc: Disable RUNPATH validation for native builds.Ludovic Courtès2015-04-07
| | | | | | | | | * 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.
* gnu: gcc: Fix libgcc_s directory in RUNPATH for cross-compiled binaries.Ludovic Courtès2015-04-02
| | | | | | | | * 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.
* gnu: gcj: Use a versioned URL for 'javac.in'.Ludovic Courtès2015-03-08
| | | | | * gnu/packages/gcc.scm (javac.in): Use a ViewVC URL that specifies the CVS revision.
* gnu: gcj: Move javac.in from a file in the distribution to an origin.Andreas Enge2015-03-07
| | | | | | | * 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.
* gnu: gcc: Add copyright line.Andreas Enge2015-03-07
|
* gnu: Add GCJRicardo Wurmus2015-01-27
| | | | | | | * gnu/packages/gcc.scm (gcj-4.8, ecj-bootstrap-4.8): New variables. * gnu/packages/javac.in: New file. * gnu-system.am (MISC_DISTRO_FILES): Add it. * Makefile.am (nobase_dist_guilemodule_DATA): Add MISC_DISTRO_FILES.
* gnu: Add toolchain support for 'armhf-linux'.Mark H Weaver2015-01-07
| | | | | | | | | | | | Based on preliminary work by John Darrington <john@darrington.wattle.id.au>. * gnu/packages/cross-base.scm (xgcc-armhf): New variable. * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add armhf case. (gcc-4.7)[pre-configure]: Add gcc/config/*/linux-eabi.h to the list of files in which to patch GLIBC_DYNAMIC_LINKER. * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add armhf case. * guix/utils.scm (gnu-triplet->nix-system, nix-system->gnu-triplet): Add armhf cases.
* gnu: gcc: Use 'gcc-configure-flags-for-triplet' for native compilers too.Mark H Weaver2015-01-07
| | | | | | | | | * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Do not export it. (gcc-4.7): Pass the result of 'gcc-configure-flags-for-triplet' to configure for all builds, including native ones. * gnu/packages/cross-base.scm (cross-gcc-arguments): Do not add the result of 'gcc-configure-flags-for-triplet' here, since it is now included in the configure-flags inherited from gcc-4.8.