Package Details: cross-mips-elf-gcc 9.1.0-1

Git Clone URL: https://aur.archlinux.org/cross-mips-elf-gcc.git (read-only, click to copy)
Package Base: cross-mips-elf-gcc
Description: The GNU Compiler Collection for the MIPS-elf architecture
Upstream URL: http://www.gnu.org/software/gcc/
Licenses: GPL
Submitter: EoleDev
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 2
Popularity: 0.000000
First Submitted: 2015-10-23 11:44
Last Updated: 2019-09-22 19:56

Latest Comments

ecloud commented on 2019-09-08 07:17

Is this intended as a bare-metal compiler? It seems incomplete for building binaries for openwrt... that's what I was hoping to use it for. Of course there are no headers included, and even if I work around that, I see that it's not able to link a "hello world" executable:

$ mips-elf-gcc -I/usr/include hello.c -o hello-mips
hello.c: In function 'main':
hello.c:6:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
     exit(42);
     ^
hello.c:6:5: warning: incompatible implicit declaration of built-in function 'exit'
hello.c:6:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crti.o: No such file or directory
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find -lgcc
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find -lgcc
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crtend.o: No such file or directory
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status