User forums > Help

redirect output of post-build step

<< < (2/2)

tom0769:
Hi all, thanks for replies!

Is there a macro for the location of the toolchain executables, so that it can be used to setup a tool?

I need to avoid absolute path names for both, project files and toolchain,
since this should be used by different people working with in different enviroments.

BTW
How can I get the symbol table plugin?
I found it listed at "http://wiki.codeblocks.org/index.php?title=Code::Blocks_Plugins" but page does not exist.

ollydbg:

--- Quote from: tom0769 on September 16, 2010, 11:26:20 am ---Is there a macro for the location of the toolchain executables, so that it can be used to setup a tool?

--- End quote ---
I guess you can get the toolchain path from the compiler plugin, but I'm not sure which function can get this. ( I have briefly read the public function of compiler plugin plugins\compilergcc\compilergcc.h, but does not find the answer..)

tom0769:

--- Quote from: MortenMacFly on September 16, 2010, 09:49:50 am ---Use the tools menu. Setup a tool (like a script or batch file) that does the re-direction. Use macros in the tool so that it is generic enough to work with any of your applications.

--- End quote ---
I setup a tool calling nm.exe using macros, but I still cannot write the output to a file.
The output goes either to a console or to stdout (Code::Blocks log window) depending on the launch option.

tom0769:
In the configuration file "default.conf" there is an entry for each compiler:
<gcc>
    ...
    <MASTER_PATH>
        <str>
            <![CDATA[C:\Programme\CodeBlocks\MinGW]]>
        </str>
    </MASTER_PATH>
    ...
</gcc>   

Is it possible to get this information via a macro?

MortenMacFly:

--- Quote from: tom0769 on September 16, 2010, 11:26:20 am ---How can I get the symbol table plugin?

--- End quote ---
If you use the installer, just enable it.
If you compile from sources, do the same.

Navigation

[0] Message Index

[*] Previous page

Go to full version