public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* Has anyone progressed/tried to port glibc to non posix system (windows)
       [not found] ` <CAF6ttfGk0AxJQypSTB+5bNsDyzWXBG96hbOijFSbkVaSWiwESg@mail.gmail.com>
@ 2013-04-05 13:30   ` Vishal Agrawal
  2013-04-05 14:44     ` Carlos O'Donell
  0 siblings, 1 reply; 5+ messages in thread
From: Vishal Agrawal @ 2013-04-05 13:30 UTC (permalink / raw)
  To: libc-ports

I am working to port a part of glibc to windows. Can anyone help me
with their progress or write about how hard it is. With no changes it
is listing:

*** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen.  So, if you have interest to see glibc on
*** this platform visit
***     http://www.gnu.org/software/libc/porting.html
*** and join the group of porters

---------- Forwarded message ----------
From: Vishal Agrawal <vishal4556@gmail.com>
Date: Fri, 5 Apr 2013 18:56:02 +0530
Subject: Fwd: Has anyone progressed/tried to port glibc to non posix
system (windows)
To: libc-ports@sourceware.org

I am working to port a part of glibc to windows. Can anyone help me with
their progress or write about how hard it is. With no changes it is listing:

*** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen.  So, if you have interest to see glibc on
*** this platform visit
***     http://www.gnu.org/software/libc/porting.html
*** and join the group of porters

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Has anyone progressed/tried to port glibc to non posix system (windows)
  2013-04-05 13:30   ` Has anyone progressed/tried to port glibc to non posix system (windows) Vishal Agrawal
@ 2013-04-05 14:44     ` Carlos O'Donell
  2013-04-05 20:08       ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos O'Donell @ 2013-04-05 14:44 UTC (permalink / raw)
  To: Vishal Agrawal; +Cc: libc-ports

On 04/05/2013 09:30 AM, Vishal Agrawal wrote:
> I am working to port a part of glibc to windows. Can anyone help me
> with their progress or write about how hard it is. With no changes it
> is listing:
> 
> *** The GNU C library is currently not available for this platform.
> *** So far nobody cared to port it and if there is no volunteer it
> *** might never happen.  So, if you have interest to see glibc on
> *** this platform visit
> ***     http://www.gnu.org/software/libc/porting.html
> *** and join the group of porters

Nobody that I know of in the community is working on a Windows
port of glibc.

Even a minimal port would be difficult because glibc supports
only ELF and for a Windows port you'd have to extend everything
to support an alternate binary format e.g. PE, with all of the
differences that that entails. You might try to use a PE stub
to run the dynamic loader which can then load ELF files.

A full port to Windows would require expert level knowledge
to complete and would be considerable work, probably on the
order of a year of full-time work by said expert.

You would likely end up duplicating much of what is already
in cygwin to provide all of the functionality required by POSIX.

Why not consider using cygwin?

Cheers,
Carlos.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Has anyone progressed/tried to port glibc to non posix system (windows)
  2013-04-05 14:44     ` Carlos O'Donell
@ 2013-04-05 20:08       ` Mike Frysinger
  2013-04-05 22:32         ` Carlos O'Donell
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2013-04-05 20:08 UTC (permalink / raw)
  To: libc-ports; +Cc: Carlos O'Donell, Vishal Agrawal

[-- Attachment #1: Type: Text/Plain, Size: 142 bytes --]

On Friday 05 April 2013 10:44:37 Carlos O'Donell wrote:
> Why not consider using cygwin?

at least recommend mingw instead of cygwin :)
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Has anyone progressed/tried to port glibc to non posix system (windows)
  2013-04-05 20:08       ` Mike Frysinger
@ 2013-04-05 22:32         ` Carlos O'Donell
  2013-04-05 23:01           ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos O'Donell @ 2013-04-05 22:32 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: libc-ports, Vishal Agrawal

On 04/05/2013 04:09 PM, Mike Frysinger wrote:
> On Friday 05 April 2013 10:44:37 Carlos O'Donell wrote:
>> Why not consider using cygwin?
> 
> at least recommend mingw instead of cygwin :)

You're right, mingw + msys might be enough for the
users requirements.

You must keep in mind that mingw's design is to
provide an open source build environment for windows
development and not a portability layer. Though the
mingwex runtime has some portability functions to
aid in the transition, it still just using the Windows
C runtime.

Cheers,
Carlos.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Has anyone progressed/tried to port glibc to non posix system (windows)
  2013-04-05 22:32         ` Carlos O'Donell
@ 2013-04-05 23:01           ` Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2013-04-05 23:01 UTC (permalink / raw)
  To: libc-ports; +Cc: Carlos O'Donell, Vishal Agrawal

[-- Attachment #1: Type: Text/Plain, Size: 680 bytes --]

On Friday 05 April 2013 18:32:04 Carlos O'Donell wrote:
> On 04/05/2013 04:09 PM, Mike Frysinger wrote:
> > On Friday 05 April 2013 10:44:37 Carlos O'Donell wrote:
> >> Why not consider using cygwin?
> > 
> > at least recommend mingw instead of cygwin :)
> 
> You're right, mingw + msys might be enough for the
> users requirements.
> 
> You must keep in mind that mingw's design is to
> provide an open source build environment for windows
> development and not a portability layer. Though the
> mingwex runtime has some portability functions to
> aid in the transition, it still just using the Windows
> C runtime.

that's why you use gnulib w/mingw :)
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-05 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAF6ttfHcG5s6OUAiuDfXWg3kQr_9Yxo+BHbhOZa8E2SeEnY-uA@mail.gmail.com>
     [not found] ` <CAF6ttfGk0AxJQypSTB+5bNsDyzWXBG96hbOijFSbkVaSWiwESg@mail.gmail.com>
2013-04-05 13:30   ` Has anyone progressed/tried to port glibc to non posix system (windows) Vishal Agrawal
2013-04-05 14:44     ` Carlos O'Donell
2013-04-05 20:08       ` Mike Frysinger
2013-04-05 22:32         ` Carlos O'Donell
2013-04-05 23:01           ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).