title: Compiling a C++ program with g++
body: <p>I am having issues compiling my C++ program on g++ on Windows. My program is comprised of of the following files: one cpp file, two header files, and an asm file in MASM format. I tried using the following command to compile the x64 PE file:</p>
  <pre><code>g++ test.asm test.cpp -o test.exe
  </code></pre>
  <p>I am getting the following exception:
  file format not recognized; treating as linker script.</p>
  <p>Could someone point me in the right direction? Thanks in advance!</p>