Skip to content

error: linker arm-none-eabi-gcc not found #73

@fatfingers23

Description

@fatfingers23

Hey I had the same issue as #68 and the PR for it resolved the issue. But when running I get the error error: linker arm-none-eabi-gcc not found.

In other no_std projects usually there's a .cargo/config.toml with the target set. So I tried that and it is working for my projects. I wanted to check and see if I am missing anything? If not and that solution works for everyone I am thinking about making a PR for that to be part of the new command and to use the env variables to set the paths. The config I use is below

[build]
build-stage = 1
target = ["armv6k-nintendo-3ds"]

[target.armv6k-nintendo-3ds]
linker = "/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc"


[target.armv6k-nintendo-3ds.cc]
cc = "/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc"

[target.armv6k-nintendo-3ds.cxx]
cxx = "/opt/devkitpro/devkitARM/bin/arm-none-eabi-g++"

[target.armv6k-nintendo-3ds.ar]
ar = "/opt/devkitpro/devkitARM/bin/arm-none-eabi-ar"

[target.armv6k-nintendo-3ds.ranlib]
ranlib = "/opt/devkitpro/devkitARM/bin/arm-none-eabi-ranlib"

Also tagging #71 because it may be related?

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