[GCC-XML] Re: error when building (pradeep kumar)
Brad King
brad.king at kitware.com
Tue Aug 21 09:55:06 EDT 2007
pradeep kumar wrote:
> Command: /bin/sh
> "/home/pradeepd/gccxml/GCC/config_cmake/gcc_platform.sh"
> "/home/pradeepd/gccxml-build/GCC/config_cmake/gcc_platform.cmake"
> "usr/bin/cmake "
>
> Output:
> /home/pradeepd/gccxml/GCC/config_cmake/gcc_platform.sh:
> /home/pradeepd/gccxml/GC: bad interpreter: No such file or directory
[snip]
> File: gcc_plarform.sh
>
> GCC_SOURCE_DIR=`cd "\`echo \"$0\" | sed -n
> '/\//{s/\/[^\/]*$//;p;}'\`";cd ..;pwd`
This is very strange. No one has ever had a problem with this script
before. Try creating a file "foo.sh" with the contents
FOO=`cd "\`echo \"$0\" | sed -n '/\//{s/\/[^\/]*$//;p;}'\`";cd ..;pwd`
echo "$FOO"
and then run "/bin/sh foo.sh". What happens?
-Brad
More information about the gccxml
mailing list