Package Details: arm-linux-gnueabihf-gcc 9.1.0-2

Git Clone URL: https://aur.archlinux.org/arm-linux-gnueabihf-gcc.git (read-only)
Package Base: arm-linux-gnueabihf-gcc
Description: The GNU Compiler Collection (arm-linux-gnueabihf)
Upstream URL: https://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Conflicts: arm-linux-gnueabihf-gcc-stage1, arm-linux-gnueabihf-gcc-stage2
Provides: arm-linux-gnueabihf-gcc-stage1=9.1.0, arm-linux-gnueabihf-gcc-stage2=9.1.0
Replaces: arm-linux-gnueabihf-gcc-stage1, arm-linux-gnueabihf-gcc-stage2
Submitter: tavianator
Maintainer: tavianator
Last Packager: tavianator
Votes: 59
Popularity: 0.670050
First Submitted: 2015-09-14 15:41
Last Updated: 2019-07-04 21:01

Pinned Comments

tavianator commented on 2018-08-15 15:55

@TheSaint: The correct order can be seen here: https://github.com/tavianator/arch-rpi-cross/blob/master/install.sh

It is

arm-linux-gnueabihf-binutils
arm-linux-gnueabihf-gcc-stage1
arm-linux-gnueabihf-linux-api-headers
arm-linux-gnueabihf-glibc-headers
arm-linux-gnueabihf-gcc-stage2
arm-linux-gnueabihf-glibc
arm-linux-gnueabihf-gcc

The dependencies and provides have been set up so that AUR helpers should (hopefully) figure that out automatically.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Glavnokoman commented on 2018-01-25 12:43

fixed by reinstalling arm-linux-gnueabihf-binutils

Glavnokoman commented on 2018-01-25 10:33

after update to 7.2.0-3 compilation of trivial main.c fails with '/usr/lib/gcc/arm-linux-gnueabihf/7.2.0/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory'

tavianator commented on 2018-01-04 03:47

@sirplatypus: The correct order can be seen here: https://github.com/tavianator/arch-rpi-cross/blob/master/install.sh

sirplatypus commented on 2018-01-04 03:10

Due to the sheer number of errors I have run into trying to compile this package, I am now wondering what the correct way to go about this is. Just trying to compile this package of course does not work, and at this point I have gathered that each dependency must be individually installed in a specific order. What is that order? Thanks

coolp_jim commented on 2017-10-24 12:13

I tried to install this package yesterday without luck. After adding the needed PGP keys, the arm-linux-gnueabihf-gcc-stage1 package fails to build with:

/home/jim/.cache/pacaur/arm-linux-gnueabihf-gcc-stage1/src/gcc/gcc/statistics.h:25:2: error: #error GATHER_STATISTICS must be defined
#error GATHER_STATISTICS must be defined
^~~~~

EDIT: It seems the issue was my appending to some environment variables, unsetting them cleared the issue.

Hi-Angel commented on 2017-06-29 08:24

Installed the package two days ago (another computer). For compiling this simple code:

#include <string>
std::string str;
int main() { return 0; }

I'm getting:

λ arm-linux-gnueabihf-g++ test.cpp -o a
/tmp/ccXKFetI.o: In function `__static_initialization_and_destruction_0(int, int)':
test.cpp:(.text+0x50): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'
test.cpp:(.text+0x7c): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'

I've tried adding -lstdc++, defining a macro _GLIBCXX_USE_CXX11 to 1 and to 0, but it didn't work. "verbose" shows it's using correct lib paths "/usr/lib/gcc/arm-linux-gnueabihf/…"

EDIT: sorry, the text is actually nicely formatted, but site is eating the whitespace.

tavianator commented on 2017-02-03 00:27

@Hi-Angel: You should install the entire base-devel group for building packages.

From https://wiki.archlinux.org/index.php/PKGBUILD#makedepends:

> Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

Hi-Angel commented on 2017-01-24 12:59

Please, add bison to dependencies.

xoac commented on 2016-11-16 14:48

@tavianator It is normal that there is no libstdc++.a?

My linker yell:
/usr/bin/arm-linux-gnueabihf-ld: cannot find -lstdc++

I need to compile my application static. If I compile without `-static` everything works fine!

tavianator commented on 2016-07-29 21:12

@1ace: What patch?