<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/86729>86729</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Flang] flang-new doesn't take --gcc-install-dir nor --gcc-toolchain
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ye-luo
</td>
</tr>
</table>
<pre>
Spotted the issue when deploying `x86_64-unknown-linux-gnu.cfg` for C/C++/Fortran compilers.
```
flang-new: error: unknown argument: '--gcc-install-dir=/soft/compilers/gcc/12.2.0/x86_64-suse-linux/lib/gcc/x86_64-pc-linux-gnu/12.2.0'
```
Need at least `--gcc-install-dir` option to work.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUt2OozwMfRpzE4ES89sLLjpTcfndfA-wCmAg2zRGSZhO334F2-2sNCtZgjh2fI7P0SGY2RG1UL5BeUn0Fhf27YNSu3HS8_ho_185RhpFXEiYEDYS94WcGGm1_DBuFlDJz6b6URXp5q6O7y61xm2f6ey2bJhmqKSY2It3wO4d8O2IrmMfvXZi4NtqLPmQgbyAPEMln3EcJ6vdnDq6Q34W5D37_ec5R2g_bzdycc8B1mk6D0NqXIja2nQ0HvILYBd4ioDdaxJgNw8DYKcww0wCdk_4YQv0GztgZ03_Knzer8MXs7_a638i_49oFDoKSzrEfUff0VVS8BoNOxFZ3Nlfs2Rs8_GUn3RCraqVKpqiVEWytHVZlyc6TaqQU6MmVY59rqiehjqXjaI6MS1KLGSOFUpURZORKpUqiwrLaaybBqGQdNPGZtZ-3DL2c3KI2TZVjafE6p5sOFyAeCwdEHdD-HavT_ttDlBIa0IMXy9EE-1hne7oKC_ipZcYmYIDrKOI-kriG3vh2D-zkdkOizYu2bxtlxjXAPkZsNsFMHHZ-mzg266J_fjzSVfPP2nYhT147KoeVH4FAAD__-ym4Lo">