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

Git Clone URL: https://aur.archlinux.org/arm-linux-gnueabi-gcc.git (read-only, click to copy)
Package Base: arm-linux-gnueabi-gcc
Description: The GNU Compiler Collection - cross compiler for ARM GNU EABI little-endian target
Upstream URL: http://gcc.gnu.org/
Licenses: GPL, LGPL, FDL
Submitter: Megver83
Maintainer: bschnei (pdlloyd)
Last Packager: bschnei
Votes: 6
Popularity: 0.016547
First Submitted: 2018-05-05 22:58 (UTC)
Last Updated: 2024-08-05 01:57 (UTC)

Latest Comments

« First ‹ Previous 1 2

Megver83 commented on 2019-06-14 19:52 (UTC) (edited on 2019-06-14 20:07 (UTC) by Megver83)

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 (UTC) (edited on 2019-03-20 10:35 (UTC) by xantares)

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 (UTC)

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 (UTC)

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?