@Myrik93 you have to build xtensa-esp32-elf-gcc-bootstrap first, you can use that to build newlib, then this one (proper gcc).
Search Criteria
Package Details: xtensa-esp32-elf-gcc 12.2.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xtensa-esp32-elf-gcc.git (read-only, click to copy) |
---|---|
Package Base: | xtensa-esp32-elf-gcc |
Description: | The GNU Compiler Collection - cross compiler for xtensa esp32 (bare-metal) target |
Upstream URL: | https://gcc.gnu.org/ |
Licenses: | GPL, LGPL, FDL |
Submitter: | baltazar |
Maintainer: | baltazar |
Last Packager: | baltazar |
Votes: | 2 |
Popularity: | 0.000002 |
First Submitted: | 2020-05-08 08:03 (UTC) |
Last Updated: | 2022-09-03 18:26 (UTC) |
Dependencies (7)
- libmpc (libmpc-gitAUR)
- xtensa-esp32-elf-binutilsAUR
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- gmp (gmp-hgAUR) (make)
- mpfr (mpfr-gitAUR) (make)
- xtensa-esp32-elf-newlibAUR (make)
- xtensa-esp32-elf-newlibAUR (optional) – Standard C library optimized for embedded systems
Required by (1)
- xtensa-esp32-elf-newlib (make)
Sources (4)
baltazar commented on 2024-11-16 11:17 (UTC)
Myrik93 commented on 2024-11-16 10:51 (UTC)
==> Making package: xtensa-esp32-elf-gcc 12.2.0-1 (Sat 16 Nov 2024 11:49:28 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> xtensa-esp32-elf-newlib
==> ERROR: Could not resolve all dependencies.
-> Failed to install layer, rolling up to next layer.error:error making: xtensa-esp32-elf-gcc - exit status 8
==> Making package: xtensa-esp32-elf-gcc 12.2.0-1 (Sat 16 Nov 2024 11:49:28 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> xtensa-esp32-elf-newlib
==> ERROR: Could not resolve all dependencies.
-> error making: xtensa-esp32-elf-gcc-exit status 8
==> Making package: xtensa-esp32-elf-newlib 4.1.0.2022r1-1 (Sat 16 Nov 2024 11:49:29 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> xtensa-esp32-elf-gcc
==> ERROR: Could not resolve all dependencies.
-> error making: xtensa-esp32-elf-newlib-exit status 8
-> Failed to install the following packages. Manual intervention is required:
xtensa-esp32-elf-gcc - exit status 8
xtensa-esp32-elf-newlib - exit status 8
petoknm commented on 2022-03-14 09:24 (UTC)
To "fix" the issues with crt1-sim.o and _vectors.o I applied this patch and then it worked flawlessly.
baltazar commented on 2021-09-30 05:55 (UTC)
@kearneyBack not exactly, this is the latest gcc built with their config. (The compile flags are taken from that crosstool-ng repo)
kearneyBack commented on 2021-09-30 05:47 (UTC)
Is this same sa https://github.com/espressif/crosstool-NG/releases?
baltazar commented on 2020-05-13 13:25 (UTC)
There you go, I have just published xtensa-esp32-elf-gcc-bootstrap.
baltazar commented on 2020-05-13 12:22 (UTC)
Turns out it was a bug in the sdk's code, this gcc should be fine.
baltazar commented on 2020-05-13 10:48 (UTC) (edited on 2020-05-13 11:04 (UTC) by baltazar)
@lesto I thought those packages worked, sorry. I don't think building a dumb package if newlib is not installed is the proper solution, I'd rather create a separate bootstrap gcc package. I'll try to publish it later this day.
Also note, that currently it doesn't seem to be compatible with the esp32 sdk downloaded by arduino: when trying to compile a project with this gcc, I get errors for mismatching size_t sizes or something like that, I believe short, int, and long are the wrong size somehow, still trying to figure it out.
Pinned Comments
baltazar commented on 2020-05-08 08:25 (UTC) (edited on 2020-05-08 08:28 (UTC) by baltazar)
If you get the above linker errors, use
LDFLAGS
from esp-idf: