| Liste des Groupes | Revenir à l c |
bart <bc@freeuk.com> writes:[...]On 17/09/2026 23:06, Keith Thompson wrote:>
But if you have two versions A and B, and both their paths are listed in
the PATH variable, then when B's gcc tries to run cc1.exe, it will be
A's version, as A's path is listed first.
>It's the> responsibility of the gcc+FOO and gcc+BAR installers to arrange>
for their respecive gcc's to avoid conflicting with each other.
Packaging gcc for Windows is more difficult than packaging gcc
for Unix-like systems.
It's not hard; it should really have used a path relative to B's gcc.exe.
>
It would still pick A's gcc.exe if typing an unqualified 'gcc' by
itself, but how does Linux solve this problem when you have two gcc's to
choose from?
One can use modules:
$ module use --append /nfs/Software/module/my-common/modulefiles[...]
$ module load gcc/11.3
Les messages affichés proviennent d'usenet.