Project

General

Profile

Actions

Bug #13099

open

rustc dependency on gcc-7 not required

Added by David Hilton over 3 years ago.

Status:
New
Priority:
Normal
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

On a new install of OI 2020.4 I installed rustc, then ran `cargo new foo`, then `cargo run foo`.

error: linker `/usr/gcc/7/bin/gcc` not found.

The same error occurs when directly invoking rustc.

I went to update the dependencies and submit a PR, but GCC seems to already be a dependency:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/developer/rust/Makefile#L185

Maybe GCC_RUNTIME_PKG doesn't refer to the gcc binary itself but to the gcc libraries? Is there something simple I'm missing?

No data to display

Actions

Also available in: Atom PDF