[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Hi,
I am trying to create a very simple .xml file to compile with our libraries but
I have a little problem. May be some one cal help me.
Here it is the xml file:
--------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<toolset.01>
<tool name="tracepkg">
<compile>
<allcompilers command="" group="tracepkg">
<argument value="-L/usr/local/tracepkg/lib -ltrace"/>
</allcompilers>
</compile>
<execute>
<utility command="" group="tracepkg">
<optionpane title="Tace PKG" displayoptions="true">
<togoption label="XML Trace file" name="TRACE_CONFIG_FILE"
envvar="true" tooltip="Location of the xml config file" defstate="true">
<optvalue type="file"></optvalue>
</togoption>
</optionpane>
</utility>
</execute>
</tool>
</toolset.01>
--------------------------------------------------------------------
The build phase executes this:
--------------------------------------------------------------------
Building file: ../src/test_simple_c.c
Invoking: GCC C Compiler
/usr/local/tracepkg/bin/ -L/usr/local/tracepkg/lib -ltrace gcc -O0 -g3 -
Wall -c -fmessage-length=0 -MMD -MP -MF"src/test_simple_c.d" -
MT"src/test_simple_c.d" -o"src/test_simple_c.o" "../src/test_simple_c.c"
/bin/sh: /usr/local/tracepkg/bin/: Permission denied
--------------------------------------------------------------------
But I would like something like:
"gcc -L/usr/local/tracepkg/lib -ltrace -O0 -g3 -Wall -c -fmessage-length=0 -
MMD -MP -MF"src/test_simple_c.d" -MT"src/test_simple_c.d" -
o"src/test_simple_c.o" "../src/test_simple_c.c"
Is it possible to do it? and also for every compiler C/C++/Fortran.
Later to execute the application I would like to be called as usual, but
inserting the TRACE_CONFIG_FILE environment variable before the call. Is it
well defined in the toolset XML file?
Thanks and Regards.
Xavi.