Hi Aparna,
Looks like rm can not
find the “a.o” file. Is it really located in the builder working
directory (<project_path>/<configuration_name> directory for the
gnu buildfile generator)?
Regards,
Mikhail
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Aparna Argade
Sent: Thursday, December 01, 2005
2:42 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] rm: cannot
lstat - problem while cleaning during build
Hi,
I have integrated a toolchain. The build process
works ok and final output gets generated.
But the builder can not delete existing .o and other
files using rm. I get errors as:
make -k clean all
rm ./a.o
rm:
cannot lstat `./a.o': No such file or directory
make:
[clean] Error 1 (ignored)
The same rm command
works ok when executed from window’s dos prompt.
My builder specification
is as follows.
<builder
arguments="-k"
buildfileGenerator="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator"
command="make"
id="org.xyz.cdt.abc.debug.builder"
isAbstract="false"
isVariableCaseSensitive="false"
name="Builder"
reservedMacroNames="PATH"
variableFormat="@="/>
I have installed cygwin and the PATH variable
contains cygwin/bin path.
I’m using eclipse sdk 3.1.1 and cdt sdk 3.0.1.
I am not able to figure out the cause of the problem.
Please help.
Thanks & Regards,
Aparna