delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/05/25/15:03:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Sat, 25 May 2013 22:02:54 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: Adding 64-bit file support to DJGPP
In-reply-to: <b5af8ced-f865-4d4e-afa2-bb7355343d5c@googlegroups.com>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp AT delorie DOT com
Message-id: <83fvxarig1.fsf@gnu.org>
References: <1137560452 DOT 398133 DOT 301490 AT g14g2000cwa DOT googlegroups DOT com> <0ed77a97-aec8-4fde-8124-707ca9cffad1 AT googlegroups DOT com> <28c2ff16-6cef-46c3-8f52-f67b320b5c04 AT googlegroups DOT com> <de2dnU5WsKrWXQPMnZ2dnUVZ_jydnZ2d AT earthlink DOT com> <68c3dec5-8fd4-4eb0-888d-3949d879a33c AT googlegroups DOT com> <90dceebd-8d81-4433-8932-9bce42bddb97 AT googlegroups DOT com> <83k3mnqb5o DOT fsf AT gnu DOT org> <b5af8ced-f865-4d4e-afa2-bb7355343d5c AT googlegroups DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Sat, 25 May 2013 11:30:52 -0700 (PDT)
> From: rugxulo AT gmail DOT com
> 
> Hi,
> > Did you actually try that?  My experience in porting to MinGW is
> > exactly the opposite: DJGPP has a lot of Posix-like features that
> > MinGW sorely lacks.  So porting to MinGW using a DJGPP port as a
> > starting point will generally give you a broken port, and in many
> > cases will simply refuse to compile or link.
> 
> IIRC, MinGW isn't explicitly targeting POSIX, only "native" Windows,

That's true, but that doesn't help in porting.  MinGW is what it is
(and they do have a small number of Posix functionality added).  The
rest is up to the person who does the port.

> > Besides, starting with DJGPP will automatically lose the advanced
> > features you can have with Windows: networking, threads, parallel
> > processes, etc.
> 
> If you're targeting all of that anyways, you're not really targeting
> pure ISO C, are you?

No non-trivial C program uses only ISO C.

> Almost better to "just use Java" (or Modula-3).

If the package is written in C, this again doesn't help.

> > DJ's suggestion to use MinGW is still valid, of course (although
> > MinGW still doesn't support generation of 64-bit executables; you
> > need to go to semi-official MinGW64 snapshots).  But please don't
> > underestimate the efforts required for porting a non-trivial
> > package to MinGW. Heck, even running a configure script is a
> > challenge, and requires an installation of yet another environment
> > (MSYS).
> 
> Blame those who refuse to code anything outside of POSIX.

I want to have a ported package, not to assign blame.

> Obviously AutoTools was never expected to work on systems without a
> native POSIX shell. It might be (barely) wrong to say outside
> developers don't care about Windows, but clearly it's not first
> priority target.

MSYS works very well, once you get it set up, and figure out how to
run it without MinGW getting in the way.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019