Author Topic: Problem with compiling - MingW switches  (Read 6646 times)

akinwale

  • Guest
Problem with compiling - MingW switches
« on: February 03, 2005, 07:07:30 am »
Hello,
I'm new to Code Blocks (just downloaded it yesterday), and I must say, it's very nice!

Anyway, I attempted compiling SDL. I imported the VisualC project file (btw, importing projects = brilliant idea) in the SDL folder, but when I try to compile, I get an error which reads:

mingw32-gcc.exe: cannot specify -o with -c or -S and multiple compilations

How do I go about this? Thanks.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Problem with compiling - MingW switches
« Reply #1 on: February 03, 2005, 09:32:05 am »
Hi,

try compiling using GNU "make". The new direct-mode is, err, new and might have problems...
To do this, go to "Settings/Configure plugins/Compiler", switch to the "Other" tab and select the "GNU make" build method.

HTH,
Yiannis.
Be patient!
This bug will be fixed soon...