nixpkgs/pkgs/development/compilers/gcc/common
Adam Joseph ea61be413c gcc: set GFORTRAN_FOR_TARGET on cross-built native compilers
For a cross-built native compiler, i.e. build!=(host==target), the
bundled libgfortran needs a gfortran which can run on the
buildPlatform and emit code for the targetPlatform.  The compiler
which is built alongside gfortran in this configuration doesn't meet
that need: it runs on the hostPlatform.

This commit passes the necessary compiler via `GFORTRAN_FOR_TARGET`,
using `pkgsBuildTarget.gfortran`.
2023-09-21 09:24:56 +03:00
..
builder.nix gcc: move dll.a in lib64 to lib output too 2023-08-29 01:04:15 +03:00
checksum.nix gcc: do not --disable-bootstrap, create libgcc output, or create checksum output on Darwin 2023-04-05 21:36:09 -07:00
configure-flags.nix treewide: replace libc == "msvcrt" with isMinGW 2023-09-08 10:56:08 +00:00
dependencies.nix gcc: s_crossStageStatic_withoutTargetLibc_ 2023-07-01 13:12:41 -07:00
extra-target-flags.nix gcc: s_crossStageStatic_withoutTargetLibc_ 2023-07-01 13:12:41 -07:00
libgcc-buildstuff.nix gcc: factor out forceLibgccToBuildCrtStuff 2023-08-14 15:08:28 -07:00
libgcc.nix Merge pull request #253939 from angerman/angerman/ucrt64 2023-09-08 22:40:14 -04:00
meta.nix gcc: add common/meta.nix 2023-02-12 05:44:34 +02:00
platform-flags.nix Merge pull request #228296 from amjoseph-nixpkgs/pr/gcc/libsanitizer/mips64n32 2023-05-05 06:54:41 +00:00
pre-configure.nix gcc: set GFORTRAN_FOR_TARGET on cross-built native compilers 2023-09-21 09:24:56 +03:00
strip-attributes.nix libgccjit: don't try to enter into non-existent $lib output 2022-08-20 12:51:36 +01:00