public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Eliot Moss <moss@cs.umass.edu>
To: "Goswami-EXT,
	Himanshu" <himanshu.goswami-EXT@continental-corporation.com>,
	"cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Generating Linux Compatible binaries
Date: Fri, 3 Dec 2021 12:02:13 -0500	[thread overview]
Message-ID: <b3f8579b-e96c-95a7-21ae-dd31260f3d46@cs.umass.edu> (raw)
In-Reply-To: <DBBPR03MB7116FECFBA323D95B70A8BC39B6A9@DBBPR03MB7116.eurprd03.prod.outlook.com>

On 12/3/2021 11:50 AM, Goswami-EXT, Himanshu wrote:
 > Hi,
 >
 > I want to generate the Linux compatible binaries on Windows System.
 > Cygwin is a cross compiler which offers POSIX environment.
 > But I could not find any Unix libraries to generate the Linux compatible binaries.
 > Could you please advice any steps that I can follow?
 >
 > Thanks in Advance.
 > Himanshu

Cygwin doesn't work that way.  It uses a custom built library that translates
POSIX system calls to similar Windows systems calls.  There are a few places,
such as file permissions, where differences will peek through.  Anyway, since
it does not run Linux compatiable libraries, it is not designed to build them.

The only solution I can recommend is to use a virtual machine, such as the Windows
Subsystem for Linux (WSL), Oracle Virtual Box, or VMWare.

Eliot Moss

  reply	other threads:[~2021-12-03 17:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 16:50 Goswami-EXT, Himanshu
2021-12-03 17:02 ` Eliot Moss [this message]
2021-12-03 19:34 ` Michael Enright
2021-12-03 20:56 ` Achim Gratz
2021-12-03 21:25   ` Eliot Moss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3f8579b-e96c-95a7-21ae-dd31260f3d46@cs.umass.edu \
    --to=moss@cs.umass.edu \
    --cc=cygwin@cygwin.com \
    --cc=himanshu.goswami-EXT@continental-corporation.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).