riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

Fixed Fedora required packages list (up to date with Fedora 27) #172

Closed irandms closed 6 years ago

irandms commented 6 years ago

The package 'build-essential' does not exist on Fedora/RHEL, and so this will cause an issue installing any of the listed packages with it included.

Generally, a collection of make, automake, gcc, gcc-c++ should suffice, especially with the group @development-tools included.

Adjusted install list:

autoconf automake @development-tools curl dtc libmpc-devel mpfr-devel gmp-devel libusb-devel gawk gcc-c++ bison flex texinfo gperf libtoolpatchutils bc zlib-devel

libusb-devel was added at the behest of a warning sent by ./build.sh, gcc-g++ isn't included in @development-tools and so that was added as well.

Tested running through this readme with the adjustment of removing build-essential on a freshly created VM of Fedora 27.

sorear commented 6 years ago

build-essential is a Debianism and AFAIK the appropriate Fedora counterpart is @buildsys-build ?

irandms commented 6 years ago

According to dnf groupinfo buildsys-build, @buildsys-build will pull in gcc-c++, and gawk as well, although that is already explicitly listed. It doesn't pull in libusb-devel, and does bring in a number of other packages that aren't necessarily to build everything.