Thread: compile gcc-6.3.0.tar.bz2??

  1. #1
    Registered User
    Join Date
    Nov 2015
    Posts
    119

    compile gcc-6.3.0.tar.bz2??

    Good to everyone! I want to compile myself gcc-6.3.0.tar.bz2.

    I ask for the most detailed advice, the most detailed description of all the actions, please!

    All good! I want to compile independently gcc-6.3.0.tar.bz2.

    I ask for the most in-depth advice, the most detailed description of all the actions, please.
    Last edited by Dmy; 08-06-2017 at 10:12 AM.

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4,633
    I want to compile independently gcc-6.3.0.tar.bz2.
    Why do you want to compile this version of gcc when there are more current versions available such as gcc 7.1?

    Have you looked at the documentation for gcc to see how to compile this software?

    Jim

  3. #3
    Guest
    Guest
    @Dmy: I think building the compiler yourself is not a good idea, unless you're a very experienced developer; It's a pretty big task.

    If you want a recent compiler for your Windows 32-bit, you could try this one (the first link of the two). Just unpack the folder, e.g. to C:\mingw32 and point your IDE to the tools in the bin directory. Optionally, add the bin directory to Windows' PATH variable as well.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    He wants to compile it because he thinks the compiler error was caused by the Compiler instead of his code or Code::Blocks compiler settings.

    ' Mutex ' in namespace ' std ' does not name a type | ??

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  5. #5
    Registered User
    Join Date
    May 2010
    Posts
    4,633
    He wants to compile it because he thinks the compiler error was caused by the Compiler instead of his code or Code::Blocks compiler settings.
    Oh, so I wonder if he has added the threading libraries to his build configuration.

    Jim

  6. #6
    Registered User
    Join Date
    Nov 2015
    Posts
    119
    Thank you all so much! Yes, yes, he wants to compile it because him including the compiler error is caused by the compiler instead of his code or code: Blocks compiler settings.

    I don't compiled ever so hard. Indeed, I rookie and so complex, it's an extraordinarily high complexity.
    Anyway, I want to compile on my own. And then I'll have experience.
    A lot of thanks in advance for everyone. I want to do it myself!
    Last edited by Dmy; 08-16-2017 at 09:02 AM.

  7. #7
    Registered User
    Join Date
    Nov 2015
    Posts
    119
    Actually I don't even know how to start, but I believe it is necessary and best.
    Last edited by Dmy; 08-16-2017 at 09:59 AM.

  8. #8
    Registered User
    Join Date
    Nov 2015
    Posts
    119
    When I write a cd then/D/gcc-6.3.0 do not know what to do next, if I write a cd/D/gcc-6.3.0/gcc-6.3.0.tar.bz2, then no such file or directory!
    Also don't just apply successfully./configure, nothing else also does nothing.
    Last edited by Dmy; 08-16-2017 at 10:55 AM.

  9. #9
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Compiling the GCC Compiler is a very hard task; I have never done it before.
    Been at least three years since my last try at it.

    IMHO, it is a waste of time for anyone on this site to try to help you compile GCC.

    IMHO: In my humble opinion.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  10. #10
    Registered User
    Join Date
    Nov 2015
    Posts
    119
    Many thanks.
    After such a compilation, I will feel more confident, I want it. I'm not afraid of difficult tasks.

    Is it possible to use any script file for msys? I can not find, no clear explanation for this matter.
    And then often you have to enter the same hands, with errors or with further attempts.

    It would have been better, not just mentioning but also examples for this, with explanations.
    Last edited by Dmy; 08-24-2017 at 03:05 PM.

  11. #11
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    This site posts his build scripts MinGW Distro - nuwen.net

    Note: He only builds 64 bit MinGW GCC.

    Why do you NOT use a prebuilt MinGW GCC, instead?

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  12. #12
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    This site plans to post the build scripts in the future Gnu Tools - Browse /MinGW Builds/TDM at SourceForge.net

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  13. #13
    Registered User
    Join Date
    Nov 2015
    Posts
    119
    Thank you very much! I'm here, I'll start reading.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev-C++ I can't compile!
    By Decrypt in forum C++ Programming
    Replies: 4
    Last Post: 10-05-2005, 09:42 PM
  2. compile once, compile twice ...error
    By Benzakhar in forum Windows Programming
    Replies: 6
    Last Post: 12-28-2003, 06:00 AM
  3. Replies: 3
    Last Post: 03-07-2003, 09:06 PM
  4. Won't compile, can YOU compile it on your compiler?
    By incognito in forum C++ Programming
    Replies: 12
    Last Post: 03-10-2002, 12:00 PM

Tags for this Thread