www.digitalmars.com         C & C++   DMDScript  

D.gnu - Building GDC

reply asdf <a b.c> writes:
Are there build instructions that don't involve building the rest 
of GCC at the same time? I realize wrong version mismatches are 
bad but I'll redo it until it works lol!
Mar 01 2016
next sibling parent "Sebastien Alaiwan via D.gnu" <d.gnu puremagic.com> writes:
On 2016-03-02 07:47, asdf via D.gnu wrote:
 Are there build instructions that don't involve building the rest of GCC at
the same time? I realize wrong version mismatches are bad but I'll redo it
until it works lol!
I don't think so. Blame the legendary GCC modularity! I wrote a simple script to build a windows-targetting GDC. The script you might want to look at is "build_gnu". https://github.com/Ace17/MinGW-GDC It will mostly work out of the box, so you will not lose time redoing it: i've already done it for you! :-) Even if you don't run it, this might be of some help anyway.
Mar 02 2016
prev sibling parent reply "Iain Buclaw via D.gnu" <d.gnu puremagic.com> writes:
On 2 Mar 2016 9:09 pm, "asdf via D.gnu" <d.gnu puremagic.com> wrote:
 Are there build instructions that don't involve building the rest of GCC
at the same time? I realize wrong version mismatches are bad but I'll redo it until it works lol! Sorry, no. GCC isn't a library that you can just link to. You need to build all parts in order to make a working compiler. You can drastically speed up compile time by configuring with --disable-bootstrap however. Iain.
Mar 02 2016
parent asdf <a b.c> writes:
On Wednesday, 2 March 2016 at 20:54:54 UTC, Iain Buclaw wrote:
 On 2 Mar 2016 9:09 pm, "asdf via D.gnu" <d.gnu puremagic.com> 
 wrote:
 Are there build instructions that don't involve building the 
 rest of GCC
at the same time? I realize wrong version mismatches are bad but I'll redo it until it works lol! Sorry, no. GCC isn't a library that you can just link to. You need to build all parts in order to make a working compiler. You can drastically speed up compile time by configuring with --disable-bootstrap however. Iain.
Thanks. I ran out of disk space with the whole thing and ended up reinstalling ldc2.
Mar 03 2016