March 07, 2007
Nick Sabalausky wrote:

> A few things I should note:
> 
> 1. I'm not sure which version of GCC you were patching GDC against, but I'm building
>  against version 4.1.2. To clarify all the versionings: I'm using MSYS/MinGW GCC 3.5.2
>  to build GDC 0.22 (old now, I know) against the GCC 4.1.2 sources.

I was using either MinGW GCC 3.4.2 or 3.4.5, depending on when in time.
I haven't used MinGW GCC 3.5, and I haven't used GCC 4.1.2 (on Windows)

> 2. Not sure if it matters, but configure scripts tell me that someting about symbolic links isn't working. It reports "ln" works, but "ln -s" doesn't. Not sure if that matters. I have only a passing familiarity with symlinks

Yeah, Windows have a few quirks with symbolic links. So does Mac OS X,
but it seems even worse on Windows. Not sure if it is fatal, though ?

--anders
March 07, 2007
"Anders F Björklund" <afb@algonet.se> wrote in message news:esmq4u$2qsn$1@digitalmars.com...
> Nick Sabalausky wrote:
>
>> A few things I should note:
>>
>> 1. I'm not sure which version of GCC you were patching GDC against, but
>> I'm building
>>  against version 4.1.2. To clarify all the versionings: I'm using
>> MSYS/MinGW GCC 3.5.2
>>  to build GDC 0.22 (old now, I know) against the GCC 4.1.2 sources.
>
> I was using either MinGW GCC 3.4.2 or 3.4.5, depending on when in time. I haven't used MinGW GCC 3.5, and I haven't used GCC 4.1.2 (on Windows)
>

Oops, I meant 3.4.2, not 3.5.2.

Sorry if I sound like I'm going in circles, but there's still something about the versions I'm unclear on regarding your build process. Let me see if I can explain better...

There's two different GCC's involved:

A. The one that actually being invoked by the build process to build GCC. It's the one that's already installed and working on the system prior to attempting to build GDC.

B. The GCC sources that we're applying the D patches to. The one that is actually getting built.

For me:
A = 3.4.2
B = 4.1.2

If I'm understanding you correctly, yours is:
A = 3.4.2 or 3.4.5, depending on when in time
B = 3.4.2 or 3.4.5, depending on when in time

Is this correct?


March 07, 2007
Nick Sabalausky wrote:

> If I'm understanding you correctly, yours is:
> A = 3.4.2 or 3.4.5, depending on when in time
> B = 3.4.2 or 3.4.5, depending on when in time
> 
> Is this correct?

Pretty much, but you can safely assume that A has been equal
to 3.4.5 for my build of GDC 0.21 and that I'm not planning
on doing any more builds of 3.4.2 (the 3.4.5 is old enough...)

Not sure what compiler David uses, but I think it is 3.4.5 ?

I'm using GCC 4.1.1 on Linux, but plan on sticking with the
system versions for MinGW and Xcode: 3.4.5-20060117-1 for
MinGW and 5363 for Xcode, i.e. the same as David is using...

In a similar fashion my GDB is 6.3-20051128-2 for MinGW and
563 for Xcode, while the GNU/Linux version is using GDB 6.5.
(it's following the availability of the GDB and GDC patches)

It's mentioned on the web pages, and there's source code too.

--anders
March 07, 2007
"Anders F Björklund" <afb@algonet.se> wrote in message news:esn484$9tp$2@digitalmars.com...
> Nick Sabalausky wrote:
>
>> If I'm understanding you correctly, yours is:
>> A = 3.4.2 or 3.4.5, depending on when in time
>> B = 3.4.2 or 3.4.5, depending on when in time
>>
>> Is this correct?
>
> Pretty much, but you can safely assume that A has been equal to 3.4.5 for my build of GDC 0.21 and that I'm not planning on doing any more builds of 3.4.2 (the 3.4.5 is old enough...)
>
> Not sure what compiler David uses, but I think it is 3.4.5 ?
>
> I'm using GCC 4.1.1 on Linux, but plan on sticking with the system versions for MinGW and Xcode: 3.4.5-20060117-1 for MinGW and 5363 for Xcode, i.e. the same as David is using...
>
> In a similar fashion my GDB is 6.3-20051128-2 for MinGW and 563 for Xcode, while the GNU/Linux version is using GDB 6.5. (it's following the availability of the GDB and GDC patches)
>
> It's mentioned on the web pages, and there's source code too.
>
> --anders

Ok, then I guess I'm in fairly new territory building a GCC 4.1.x-based GDC on MSYS/MinGW.

The last build I attempted should be done by now, though I'm away from home so I can't check how that went ATM.

Normally, I'd just grab the GCC 3.x.x-based GDC bins and be done with it. But there's a reason I'm trying to get a specifically 4.1.x-based GDC built: There's another offshoot of GCC, devkitARM (part of the devkitPro project), that I'm trying to get built off of GDC instead of GCC, so I can get D going on the GBA/NDS handhelds (There's another person doing this on Linux instead of MinGW, don't know if he's been around here). The newer devkitARMs are built off of GCC 4.1.1, so I need to get this all working for at least 4.1.1 if I want to get my changes into the devkitPro trunk. I had some build problems when I attempted devkitARM + GDC + GCC 4.1.x, so I'm making sure I can get a plain GDC built off of 4.1.x before I merge it with devkitARM.


March 07, 2007
"Anders F Björklund" <afb@algonet.se> wrote in message news:esn484$9tp$2@digitalmars.com...
> Nick Sabalausky wrote:
>
>> If I'm understanding you correctly, yours is:
>> A = 3.4.2 or 3.4.5, depending on when in time
>> B = 3.4.2 or 3.4.5, depending on when in time
>>
>> Is this correct?
>
> Pretty much, but you can safely assume that A has been equal to 3.4.5 for my build of GDC 0.21 and that I'm not planning on doing any more builds of 3.4.2 (the 3.4.5 is old enough...)
>
> Not sure what compiler David uses, but I think it is 3.4.5 ?
>
> I'm using GCC 4.1.1 on Linux, but plan on sticking with the system versions for MinGW and Xcode: 3.4.5-20060117-1 for MinGW and 5363 for Xcode, i.e. the same as David is using...
>
> In a similar fashion my GDB is 6.3-20051128-2 for MinGW and 563 for Xcode, while the GNU/Linux version is using GDB 6.5. (it's following the availability of the GDB and GDC patches)
>
> It's mentioned on the web pages, and there's source code too.
>
> --anders

Ok, then I guess I'm in fairly new territory building a GCC 4.1.x-based GDC on MSYS/MinGW.

The last build I attempted should be done by now, though I'm away from home so I can't check how that went ATM.

Normally, I'd just grab the GCC 3.x.x-based GDC bins and be done with it. But there's a reason I'm trying to get a specifically 4.1.x-based GDC built: There's another offshoot of GCC, devkitARM (part of the devkitPro project), that I'm trying to get built off of GDC instead of GCC, so I can get D going on the GBA/NDS handhelds (There's another person doing this on Linux instead of MinGW, don't know if he's been around here). The newer devkitARMs are built off of GCC 4.1.1, so I need to get this all working for at least 4.1.1 if I want to get my changes into the devkitPro trunk. I had some build problems when I attempted devkitARM + GDC + GCC 4.1.x, so I'm making sure I can get a plain GDC built off of 4.1.x before I merge it with devkitARM.


1 2
Next ›   Last »