title: How to link using GCC commands in Bloodshed Dev-C++
body: <p>I was trying to figure out how to link Fortran and C++ code, and one of the tutorials had written 2 programs, one in C++ in a file named <code>testC.cpp</code>, and the other in Fortran in a file named <code>testF.f</code> but I need to input the following compilation instructions:</p>
  
  <pre><code>gfortran -c testF.f
  g++ -c testC.cpp
  g++ -o test testF.o testC.o -lg2c
  </code></pre>
  
  <p>Problem is, I'm working in an IDE called Bloodshed Dev-C++ so I have no idea how to do this. I tried going in compiler options and in the general section I appended those instructions in the option "add the following commands when calling the compiler". Doesn't work.</p>