Package Details: arm-linux-gnueabi-gcc 8.2.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: 1
Popularity: 0.008427
First Submitted: 2018-05-05 22:58
Last Updated: 2018-09-16 16:09

Latest 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?