I've added a toolchain to a plugin for Eclipse 3.4.1/CDT 5.0.1. Basically, the way it's meant to work is, when I do a full build, we get
my_compiler -c foo.c
gcc -o foo foo.o
And, when I do a build from Project|Build All, that's what I get. If I invoked the build programatically, I get
my_compiler -c foo.c
gcc -o foo.o
That's right, the target of the -o is missing.
I'm using the build method of IProject to perform the build.
Why should there be a difference in behavior?
-- Paul