www.digitalmars.com         C & C++   DMDScript  

D.gnu - Trying to build GDC from sources (New fool - please be kind)

reply Cecil Ward <d cecilward.com> writes:
Got as far as downloading a huge .tar.xz file and extracting it, 
but U just guessed at a version of gcc sources to ftp-fetch in 
the first place.

I have a gcc-7.3.0 folder now. Is that the correct version number 
?

Next, the script file  setup-gcc.sh comes up with the error 
message
         "found gcc version 7
          This version of GCC (7) is not supported."

It's looking for a patch file with a different name, based on 
version number. I have patch files patch-*8.patch currently, 
mismatch against the check for 7.

Not sure where to go from here.
Mar 25
parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Monday, 26 March 2018 at 06:26:39 UTC, Cecil Ward wrote:
 Got as far as downloading a huge .tar.xz file and extracting 
 it, but U just guessed at a version of gcc sources to ftp-fetch 
 in the first place.

 I have a gcc-7.3.0 folder now. Is that the correct version 
 number ?

 Next, the script file  setup-gcc.sh comes up with the error 
 message
         "found gcc version 7
          This version of GCC (7) is not supported."

 It's looking for a patch file with a different name, based on 
 version number. I have patch files patch-*8.patch currently, 
 mismatch against the check for 7.

 Not sure where to go from here.
git checkout gdc-7 GCC releases are in separate branches for cleanliness and ease of maintenance. https://github.com/D-Programming-GDC/GDC/tree/gdc-7 Iain
Mar 25