Menu

installation, patch-gcc-ici

Help
pdudnik
2007-09-17
2013-05-07
  • pdudnik

    pdudnik - 2007-09-17

    Hi!

    My name is Polina and I am trying to install GCC-ICI. I am following the directions given in the readme file. I was able to successfully get GCC sources from GCC SVN by calling svn--get-gcc-sources--from-gcc. But when I move on to patching the GCC by calling patch--apply, I get an error which basically says that patch--apply can't find the file patch-gcc-ici. And indeed I called find on the directories and couldn't find this file. I am not sure if I am misunderstanding the directions or the file is really missing somehow. And if the file is missing, then where can I obtain it. I also noticed that I am missing the install directory, which I assume should be there.

    I would truly appreciate any help with this. Thank you.

    - Polina

     
    • pdudnik

      pdudnik - 2007-09-17

      I also have a patch-gcc-ici.log file with the following contents: I don't know when it was generated.

      patching file ic-passes.c
      patching file ic-passes.h
      can't find file to patch at input line 122
      Perhaps you used the wrong -p or --strip option?
      The text leading up to this was:
      --------------------------
      |Index: gcc/tree-pass.h
      |===================================================================
      |--- gcc/tree-pass.h    (.../trunk)    (revision 9750)
      |+++ gcc/tree-pass.h    (.../ici/tags/version-0.0.1-03-08-07/gcc-source)    (revision 9750)
      --------------------------
      File to patch:
      Skip this patch? [y]
      Skipping patch.
      1 out of 1 hunk ignored
      can't find file to patch at input line 134
      Perhaps you used the wrong -p or --strip option?
      The text leading up to this was:
      --------------------------
      |Index: gcc/final.c
      |===================================================================
      |--- gcc/final.c    (.../trunk)    (revision 9750)
      |+++ gcc/final.c    (.../ici/tags/version-0.0.1-03-08-07/gcc-source)    (revision 9750)
      --------------------------
      File to patch:
      Skip this patch? [y]
      Skipping patch.
      4 out of 4 hunks ignored
      patching file ic-features.c
      patching file ic-features.h
      can't find file to patch at input line 278
      Perhaps you used the wrong -p or --strip option?
      The text leading up to this was:
      --------------------------
      |Index: gcc/df-core.c
      |===================================================================

       
    • Grigori Fursin

      Grigori Fursin - 2007-09-18

      Hi Polina,

      Thanks a lot for your comment - that's true, there was a small mistake in patch--apply - there should be option -p0 used instead of -p0 (however there is a "patch-gcc-ici" file in the root directory). The install directory is missing, because it will be created during building the GCC and the plugins ... Also, I updated the script to get the GCC sources with the correct revision.

      I updated the files on SourceForge - hopefully it will work now ;) ...

      Cheers,
      Grigori

       

Log in to post a comment.