error comping c to (windows)exe on linux with mingw
<p>I installed the mingw stuff from yaourt on arch linux but when i type </p>

<pre><code>x86_64-w64-mingw32-gcc tom.c ncurses_functions.c terminal_functions.c list_functions.c -o -lpdcurses tom_windows.exe
</code></pre>

<p>I get:</p>

<pre><code>x86_64-w64-mingw32-gcc: error: tom_windows.exe: No such file or directory
</code></pre>

<p>It must be something simple but I don't know what!</p>