Package Details: arm-linux-gnueabi-gcc 9.1.0-1

Git Clone URL: https://aur.archlinux.org/arm-linux-gnueabi-gcc.git (read-only)
Package Base: arm-linux-gnueabi-gcc
Description: The GNU Compiler Collection - cross compiler for ARM target
Upstream URL: http://gcc.gnu.org/
Licenses: GPL, LGPL, FDL
Submitter: Megver83
Maintainer: Megver83
Last Packager: Megver83
Votes: 3
Popularity: 0.473858
First Submitted: 2018-05-05 22:58
Last Updated: 2019-06-14 18:45

Pinned Comments

Megver83 commented on 2019-06-14 19:52

Notes about this package:
  • For building it, you first need arm-linux-gnueabi-binutils
  • This cross compiler is built without libc, meaning that if you need it with glibc/newlib, you'll have to modify it accordingly (see this template for instance). However, it can work as your first compiler for building libc
  • If you need help for anything that's not related about the package or its building process (e.g. technical issues related to GCC), please visit their forums and mailing lists. You'll probably find no help here in the comments.

Latest Comments

Megver83 commented on 2019-06-14 19:52

Notes about this package:
  • For building it, you first need arm-linux-gnueabi-binutils
  • This cross compiler is built without libc, meaning that if you need it with glibc/newlib, you'll have to modify it accordingly (see this template for instance). However, it can work as your first compiler for building libc
  • If you need help for anything that's not related about the package or its building process (e.g. technical issues related to GCC), please visit their forums and mailing lists. You'll probably find no help here in the comments.

xantares commented on 2019-03-20 10:34

I cannot seem to build a simple example:

$ echo "int main(){return 0;}" > main.c

$ arm-linux-gnueabi-gcc main.c

/usr/lib/gcc/arm-linux-gnueabi/8.2.0/../../../../arm-linux-gnueabi/bin/ld: cannot find crt1.o: No such file or directory ...

/usr/lib/gcc/arm-linux-gnueabi/8.2.0/../../../../arm-linux-gnueabi/bin/ld: cannot find -lgcc

...

collect2: error: ld returned 1 exit status

The command '/bin/sh -c arm-linux-gnueabi-gcc main.c' returned a non-zero code: 1

gmelchett commented on 2019-03-03 07:35

Compiling fails:

g++ -c -march=x86-64 -mtune=generic -O2 -fno-plt -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/build -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/../include -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/../libcpp/include -D_FORTIFY_SOURCE=2 \ -o build/genmodes.o /home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/genmodes.c /usr/arm-linux-gnueabi/bin/as: unrecognized option '--64' make[1]: *** [Makefile:2670: build/genmodes.o] Error 1 -- It looks like it tries to use the cross-compile for the host.

billypilgrim commented on 2019-02-25 16:40

Hi. I'm trying to use this package to do some cross compiling, but I keep getting errors that seem to show that the headers for the stdlib aren't being included, so e.g. #include <vector> doesn't work. Any ideas?