Skip to content

Compilation fails because of missing esp32 linker(gcc) when esp8266 target selected #6

Closed
@pacmancoder

Description

@pacmancoder

Hi @MabezDev

I found the following issue:
Compilation fails with error for xtensa-esp8266-none-elf target because of missing xtensa-esp32-elf-gcc executable.

Expected result:
Rust uses xtensa-lx106-elf-gcc from official toolchain as linker parameter

Actual result:
Rust tries to find xtensa-esp32-elf-gcc and fails

Temporary solution:
Manually set correct linker by adding "-C linker=" to the RUSTFLAGS variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions