Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Toolchain behavior in plugin

Hi,

  A plugin we've developed adds a new toolchain to Eclipse.
Using that toolchain, when I do a Project | Build All, in the 
Console window I see (roughly)

    myTool -c foo.c
    gcc -ofoo foo.o

That's what I want.

  But when I do a build programmatically, via IProject::build, I see

    myTool -c foo.c
    gcc -o foo.o

That is, the target is missing from the command.  I've checked 
the commandLinePattern, which has ${OUTPUT} after 
${OUTPUT_FLAG}.  For some reason, the ${OUTPUT} 
is not getting instantiated when the build is done 
programmatically.

  Any clues why this is happening?

-- Paul
--
Paul Steckler
National ICT Australia
paul DOT steckler AT nicta.com.au

Back to the top