# Is it possible to specify the compiler in the fpm.toml?

**URL:** <https://fortran-lang.discourse.group/t/is-it-possible-to-specify-the-compiler-in-the-fpm-toml/4927>\
**Category:** fpm\
**Created:** [December 21, 2022, 1:53pm UTC](https://fortran-lang.discourse.group/t/is-it-possible-to-specify-the-compiler-in-the-fpm-toml/4927 "2022-12-21T13:53:04Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![alirezagh76](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@alirezagh76](https://fortran-lang.discourse.group/u/alirezagh76)\
**Post date:** [July 29, 2023, 6:25pm UTC](https://fortran-lang.discourse.group/t/is-it-possible-to-specify-the-compiler-in-the-fpm-toml/4927/8 "2023-07-29T18:25:45Z")

</div>

Based on the M\_CLI2 documentation, it is possible to have a compound response file whose name should be EXEC.rsp where EXEC is the name of the executable. When using a response file in a package using FPM for its compilation, the EXEC is indeed the name of the FPM binary not the executable of the package. There are a couple of packages on github with the response file named fpm.rsp, this means the name of the binary of FPM must be fpm or a soft link whose name is fpm.  
Those, who download the binary of FPM from github, should pay attention to this point.

---

_[View the full topic](https://fortran-lang.discourse.group/t/is-it-possible-to-specify-the-compiler-in-the-fpm-toml/4927)._
