Package Details: mipsel-elf-gcc 14.1.0-1

Git Clone URL: https://aur.archlinux.org/mipsel-elf-gcc.git (read-only, click to copy)
Package Base: mipsel-elf-gcc
Description: The GNU Compiler Collection - C and C++ frontends (for baremetal MIPS)
Upstream URL: https://www.gnu.org/software/gcc/
Keywords: gcc mips
Licenses: GPL, custom, LGPL, FDL
Submitter: MikeWalrus
Maintainer: MikeWalrus
Last Packager: MikeWalrus
Votes: 8
Popularity: 0.000000
First Submitted: 2022-01-23 10:24 (UTC)
Last Updated: 2024-05-22 10:29 (UTC)

Pinned Comments

torpe23 commented on 2023-01-13 00:31 (UTC)

The naming of this package (and of the related packages) seems incorrect since this cross-compiler does not include support for the libc. It's a simple bare metal cross-compiler. It should probably be renamed into something like mipsel-none-elf-gcc or mipsel-unknown-elf-gcc in order to remove any confusion.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

AlePini commented on 2021-05-06 10:16 (UTC) (edited on 2021-05-06 10:17 (UTC) by AlePini)

I cannot build this package, I'll paste the error down below

../.././libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader, const cpp_token, const char**, location_t)’:
../.././libcpp/expr.c:802:18: error: format not a string literal and no format arguments [-Werror=format-security] 802 | 0, message);
| ^
../.././libcpp/expr.c:805:39: error: format not a string literal and no format arguments [-Werror=format-security]
805 | virtual_location, 0, message);
| ^

amlamarra commented on 2020-06-01 19:17 (UTC)

@HarryChen What's the solution to this?

HarryChen commented on 2019-12-25 03:06 (UTC)

@Distag @Severus Yeah the problem exists, for this version gcc is built without any libc. Actually the triplet should be mipsel-none-elf but not mipsel-linux-gnu. The package is wrongly named before I adopted this package, so I decided to keep it as-is. Sorry for the inconvenience.

Distag commented on 2019-08-11 13:00 (UTC) (edited on 2019-08-11 13:05 (UTC) by Distag)

/usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/9.1.0/../../../../mipsel-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory

/usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/9.1.0/../../../../mipsel-linux-gnu/bin/ld: cannot find crti.o: No such file or directory

/usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/9.1.0/../../../../mipsel-linux-gnu/bin/ld: cannot find crtbeginT.o: No such file or directory

/usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/9.1.0/../../../../mipsel-linux-gnu/bin/ld: cannot find -lgcc

/usr/lib/cross-mipsel-linux-gnu/lib/gcc/mipsel-linux-gnu/9.1.0/../../../../mipsel-linux-gnu/bin/ld: cannot find -lc

collect2: error: ld returned 1 exit status

Severus commented on 2019-07-29 08:01 (UTC)

After install this package, I cannot build hello file. Because it cannot search the lib headers.

codeworkx commented on 2017-11-12 12:45 (UTC)

See https://aur.archlinux.org/packages/cross-mipsel-linux-gnu-gcc49/

kyak commented on 2017-07-30 16:06 (UTC)

Not using these anymore, hence disowning.

jakebailey commented on 2016-05-20 07:22 (UTC)

Unfortunately, GCC 6's new default standard breaks this package, as the fix was only backported to GCC 5, and not 4.9 (though this package uses the 4.9.2 tarball anyway). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959 I guess I'm glad I kept a copy of my built packages. :(

jakebailey commented on 2016-05-20 06:40 (UTC)

I'm not sure that's a good line of reasoning, given that the official gcc package in the core repo tracks with the latest GCC release, and seperate packages are created in the AUR for each of the older releases just as @paulburton suggested. If your build depends on an older release, you should have to pin your version just like those who have the same version dependency problems on other architectures. What this package is doing now isn't very consistent.