Closed Dirreke closed 5 months ago
for gnu, is it just a system package? Then couldn't it be done with pre-build
?
For musl, I think I'd be fine with just enabling it.
Yeah, for gnu it could be done with pre-build. Just want to make it same as musl
I'm fine with adding this to the images, it's in a way a very common compiler, and it's not too large or problematic. Feel free to open a PR making the changes neccessary!
Checklist
Describe your request
I'm working for a application with many math libs. And gfortran is always required.
It's not difficult to add it. For gnu, Add gfortran-${ARCH}-${SYSTEM}-gnu${ABI} is enough. And for musl, we can add
GCC_CONFIG += --enable-languages=c,c++,fortran
tomusl.sh
.Describe why this would be a good inclusion for
cross
It's true that it will increase the size of the docker. But there's always gfortran in the cross-toolchain published by musl.cc or linaro. So I just think if we can add it to our image too. It will make cross docker more complete.