[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] build question -- extra switches
|
Hi John,
Those -M options are preprocessor options that generate the
dependency information needed to allow incremental builds. I don't know
where they're generated, because our tooling bypasses all this stuff, but it's
just something I remember.
I'm not sure they'd impact the debugger or compile
behavior, other than preventing unnecessary compiles, but what do I know
:)
-- Ed
Can someone familiar with the build support tell me why the compile
line generated by the GNU Make Builder for a simple Cygwin or MinGW
project is
gcc -O0 -g3 -Wall -c -fmessage-length=0
-MMD -MP -MF"src/p1.d" -MT"src/p1.d" -o"src/p1.o" "../src/p1.c"
but the
-MMD -MP -MF and -MT options don't appear in the
GUI (see attached screenshot).
At least one of these options is
triggering a problem for the debugger. The Internal Builder does not
specify those options.
Seems odd to me that
(a) the program is
built with options that the user is not informed of via the GUI
(b) the
internal and make builder don't compile the source files the same
way.
John