# How to use juliac.jl?

**URL:** <https://discourse.julialang.org/t/how-to-use-juliac-jl/123024>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 24, 2024, 7:31pm UTC](https://discourse.julialang.org/t/how-to-use-juliac-jl/123024 "2024-11-24T19:31:03Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![uwestoehr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uwestoehr/32/216201_2.png) [@uwestoehr](https://discourse.julialang.org/u/uwestoehr)\
**Post date:** [April 12, 2025, 1:51pm UTC](https://discourse.julialang.org/t/how-to-use-juliac-jl/123024/13 "2025-04-12T13:51:22Z")

</div>

> [@GunnarFarneback](#):
>
> I don’t agree that the current compiler is Linux-specific. MinGW-w64 is after all

I have MinGW-w64 installed (via [GitHub - niXman/mingw-builds-binaries: MinGW-W64 compiler binaries](https://github.com/niXman/mingw-builds-binaries)) but as juliac hardcodes `cc`, it won’t be used.

I first had to manually add the bath to the cc.exe of MinGW to Windows’ PATH environment variable.

So there should be something done, either an option to juliac to specify the path to the compiler executable or Julia’s installer gets an option to install MinGW and then sets up the environment variables directly.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-use-juliac-jl/123024)._
