views:

196

answers:

2

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

A: 

Did you try asking for help on the CDT Developers Mailing List ?

lothar
A: 

Do you have the right packages to build the C/C++ file?

Mohit Deshpande