Package Details: sh-elf-gcc 8.2.0-1

Git Clone URL: https://aur.archlinux.org/sh-elf-gcc.git (read-only)
Package Base: sh-elf-gcc
Description: The GNU Compiler Collection - cross compiler for SuperH target
Upstream URL: http://gcc.gnu.org/
Licenses: GPL, LGPL, FDL
Submitter: Megver83
Maintainer: Megver83
Last Packager: Megver83
Votes: 0
Popularity: 0.000000
First Submitted: 2018-05-05 22:56
Last Updated: 2018-09-16 16:02

Dependencies (7)

Required by (1)

Sources (2)

Pinned Comments

Megver83 commented on 2018-07-27 17:32

@rattboi, you've two options: the easy one is to save time and install the compiler and its dependencies from binaries:

https://www.parabola.nu/packages/libre/x86_64/sh-elf-gcc/ (there's for x86_64, i686 and armv7h)

Or clone this repo, create a new branch (say "standalone"), use a different PKGBUILD as follow:

$ git clone <https://aur.archlinux.org/sh-elf-gcc.git>
$ cd sh-elf-gcc
$ git checkout -b standalone
$ rm PKGBUILD
$ wget <https://bpaste.net/raw/707ab54c5d47> -O PKGBUILD
$ makepkg -si

Reference: https://git.parabola.nu/abslibre.git/tree/cross/cross-gcc/PKGBUILD

The PKGBUILDs at https://git.parabola.nu/abslibre.git/tree/cross/ are for building cross-compilers, in the comments there's useful documentation, specially in the "Tips for build()" part for building gcc with or without needing libc. Beware of the comments in package() too. make all-gcc can do magic if you want to save time when it comes to build a step-1 compiler.

Prefer using https://git.parabola.nu/abslibre.git/tree/cross/cross-gcc/PKGBUILD as it is up-to-date (not like the demo one from bpaste.net)

rattboi commented on 2018-07-27 04:21

I'd like to install this, but I'm having a problem because it seems like it has a cyclic dependency with sh-elf-newlib. If this isn't the case and it is installable, I would love a simple step-by-step.

Thanks

Latest Comments

Megver83 commented on 2018-07-27 17:32

@rattboi, you've two options: the easy one is to save time and install the compiler and its dependencies from binaries:

https://www.parabola.nu/packages/libre/x86_64/sh-elf-gcc/ (there's for x86_64, i686 and armv7h)

Or clone this repo, create a new branch (say "standalone"), use a different PKGBUILD as follow:

$ git clone <https://aur.archlinux.org/sh-elf-gcc.git>
$ cd sh-elf-gcc
$ git checkout -b standalone
$ rm PKGBUILD
$ wget <https://bpaste.net/raw/707ab54c5d47> -O PKGBUILD
$ makepkg -si

Reference: https://git.parabola.nu/abslibre.git/tree/cross/cross-gcc/PKGBUILD

The PKGBUILDs at https://git.parabola.nu/abslibre.git/tree/cross/ are for building cross-compilers, in the comments there's useful documentation, specially in the "Tips for build()" part for building gcc with or without needing libc. Beware of the comments in package() too. make all-gcc can do magic if you want to save time when it comes to build a step-1 compiler.

Prefer using https://git.parabola.nu/abslibre.git/tree/cross/cross-gcc/PKGBUILD as it is up-to-date (not like the demo one from bpaste.net)

rattboi commented on 2018-07-27 04:21

I'd like to install this, but I'm having a problem because it seems like it has a cyclic dependency with sh-elf-newlib. If this isn't the case and it is installable, I would love a simple step-by-step.

Thanks