Jump to page: 1 24  
Page
Thread overview
COFF support for Win32 merged
Aug 17, 2014
Jacob Carlborg
Aug 17, 2014
Rikki Cattermole
Aug 17, 2014
Sönke Ludwig
Aug 17, 2014
bearophile
Aug 17, 2014
ketmar
Aug 17, 2014
bearophile
Aug 17, 2014
ketmar
Aug 17, 2014
bearophile
Aug 17, 2014
ketmar
Aug 17, 2014
Walter Bright
Aug 17, 2014
Joakim
Aug 17, 2014
bearophile
Aug 17, 2014
Nick Sabalausky
Aug 17, 2014
Vladimir Panteleev
Aug 17, 2014
Walter Bright
Aug 18, 2014
Manu
Aug 19, 2014
Nick Sabalausky
Aug 19, 2014
Sönke Ludwig
Aug 19, 2014
Jacob Carlborg
Aug 29, 2014
Szymon Gatner
Aug 29, 2014
Jacob Carlborg
Aug 29, 2014
Szymon Gatner
Aug 29, 2014
Jacob Carlborg
Aug 29, 2014
Andrej Mitrovic
Aug 29, 2014
Szymon Gatner
Aug 29, 2014
Jacob Carlborg
Aug 29, 2014
Szymon Gatner
Aug 30, 2014
Jacob Carlborg
Aug 29, 2014
Marc Schütz
Aug 29, 2014
Jacob Carlborg
Aug 30, 2014
Robert M. Münch
Aug 30, 2014
Jacob Carlborg
August 17, 2014
I though that this might be important enough to share on the announce list:

A pull request [1] by Rainer Schuetze which adds COFF support for Win32 has recently been merged by Walter. It seems to be enabled using the -m32mscoff flag.

[1] https://github.com/D-Programming-Language/dmd/pull/3843

-- 
/Jacob Carlborg
August 17, 2014
On 17/08/2014 9:57 p.m., Jacob Carlborg wrote:
> I though that this might be important enough to share on the announce list:
>
> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
> has recently been merged by Walter. It seems to be enabled using the
> -m32mscoff flag.
>
> [1] https://github.com/D-Programming-Language/dmd/pull/3843

Well this makes me happy :3
Thank you Rainer!
August 17, 2014
Am 17.08.2014 11:57, schrieb Jacob Carlborg:
> I though that this might be important enough to share on the announce list:
>
> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
> has recently been merged by Walter. It seems to be enabled using the
> -m32mscoff flag.
>
> [1] https://github.com/D-Programming-Language/dmd/pull/3843
>

Wow, that's fantastic news! Thank you very much Rainer!
August 17, 2014
Jacob Carlborg:

> A pull request [1] by Rainer Schuetze which adds COFF support for Win32 has recently been merged by Walter. It seems to be enabled using the -m32mscoff flag.

I have just recompiled dmd, but I don't see that new compiler
switch (dmd 2.067).

I am compiling in a wrong way?

Bye,
bearophile
August 17, 2014
On Sun, 17 Aug 2014 10:50:38 +0000
bearophile via Digitalmars-d-announce
<digitalmars-d-announce@puremagic.com> wrote:

> I have just recompiled dmd, but I don't see that new compiler
> switch (dmd 2.067).
are you sure that you compiled dmd for 32-bit windows? other versions seems to not have this flag.


August 17, 2014
ketmar:

> are you sure that you compiled dmd for 32-bit windows? other versions seems to not have this flag.

Yes, I am using a 32 bit Windows.

Bye,
bearophile
August 17, 2014
On Sun, 17 Aug 2014 11:34:59 +0000
bearophile via Digitalmars-d-announce
<digitalmars-d-announce@puremagic.com> wrote:

> Yes, I am using a 32 bit Windows.
are you sure that you have latest git then? yes, i know that this is very silly question, but sometimes... ;-)

unfortunately, i have no windows boxes (neither cross-compilers), so can't check it myself. but i see this in mars.c:

#if TARGET_WINDOS
            else if (strcmp(p + 1, "m32mscoff") == 0)
            {
                global.params.is64bit = 0;
                global.params.mscoff = true;
            }
#endif

...

static const char* parse_arch(size_t argc, const char** argv, const
char* arch) {
    for (size_t i = 0; i < argc; ++i)
    {   const char* p = argv[i];
        if (p[0] == '-')
        {
            if (strcmp(p + 1, "m32") == 0 || strcmp(p + 1, "m32mscoff")
== 0 || strcmp(p + 1, "m64") == 0) arch = p + 2;
            else if (strcmp(p + 1, "run") == 0)
                break;
        }
    }
    return arch;
}

so i believe that it should work.


August 17, 2014
ketmar:

> are you sure that you have latest git then? yes, i know that this is very silly question, but sometimes... ;-)

OK, -m32mscoff works (probably I was using a wrongly written switch), but I don't see it listed among the other compiler switches.

Bye,
bearophile
August 17, 2014
On Sun, 17 Aug 2014 13:01:06 +0000
bearophile via Digitalmars-d-announce
<digitalmars-d-announce@puremagic.com> wrote:

> OK, -m32mscoff works (probably I was using a wrongly written switch), but I don't see it listed among the other compiler switches.
maybe this is due to mscoff support still considering 'experimental'?


August 17, 2014
On Sunday, 17 August 2014 at 13:01:07 UTC, bearophile wrote:
> ketmar:
>
>> are you sure that you have latest git then? yes, i know that this is very silly question, but sometimes... ;-)
>
> OK, -m32mscoff works (probably I was using a wrongly written switch), but I don't see it listed among the other compiler switches.

You will need to use his unmerged branches of druntime and phobos also:

https://github.com/rainers/druntime/tree/coff32
https://github.com/rainers/phobos/tree/coff32

Hopefully those get merged next, as I think this could be a big feature for the 2.067 release.  Nice work, Rainer.
« First   ‹ Prev
1 2 3 4