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
_______________________________________________
gccxml mailing list
[email protected]
http://www.gccxml.org/mailman/listinfo/gccxml

Reply via email to