Hi i forgot to add this, i copied it to ~/gccxml/GCC/cmake_config place
where gcc_platform.sh file is located.
output:
/home/pradeepd/gccxml/GCC
On 8/21/07, Brad King <[EMAIL PROTECTED]> wrote:
>
> 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