Skip to main content

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

I doubt anybody knows the answer, you have to debug it and find out why yourself. If you resolve it post it here, and we will know too.


Paul Steckler wrote:
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_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top