[GCC-XML] Re: error when building (pradeep kumar)

pradeep kumar pradeep.y5mc at gmail.com
Wed Aug 22 01:17:55 EDT 2007


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 <brad.king at kitware.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/gccxml/attachments/20070822/7dd201d5/attachment-0002.html>


More information about the gccxml mailing list