delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/03/14:34:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 32F153858D28
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=kmcardiff.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kmcardiff.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=kmcardiff-com.20210112.gappssmtp.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=0Xn32XNIjdf9+dZMI6AGARwTJyIRd7NCKPQqX0yf7oM=;
b=BUxqpxPRhP11ArzrKErU5k5F3MG4ZwzBPLB7eBYmQD2Tc0BuggZa+/7DBZ0mCtFoyE
B7+Efitp1PfZOc5cSTuGWzsrpNuoU3++tlzdiqU6mueAJD1vl0F8AOxYzbEIzLffEgoB
uTnlLFQH/CDZ8hj5HjGFs9ZJJlMuUgxjB+MAVZwMIrnLBHovCPBr4XMxeSmTtPs9egE2
wbaLrUVZYnNlb/8ypvDYDio5lsLYzORD9xQZt7g5MfEDsSt7Mb0nBZh65Q7Ri/1pWLGO
HAtcGSCzhNvE5wtch3/ICHQIjaUsOBLZDXwDUJu1k9JQMO3AMwVvQSDUPnOPT3nzI0D8
DjuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=0Xn32XNIjdf9+dZMI6AGARwTJyIRd7NCKPQqX0yf7oM=;
b=l9wCOnSLj36yHohsr+EPwlCGGexoDZVCnCsyx3mKEth8kE7JG9aWJ4wsLxxgzPx9pe
CRjRqPXNiBtsYUqER3IrWVFIbpYIewi+aJs5wbt1VaqPvrbcrEiAV0aMN31BMdNFWaDj
pkMj9kmyFvTBFllc72hH3vkuYToSK7/umdiBKZ6d3GAWRYzwzraAlomjevrtE9CHd3Sd
oRLstnXb0P0ovYsXIMNxTC7/v2Z9mLRsD8s5ZsuSgPPsXJpfADctkRR3DHYVSu2aPrfr
LXiWI5ETz7PN+tI29qeuDZNFXgOYXWAReMcaPknFPUD3TGO6vCWE7ERfE8MCXQUyT981
HZtA==
X-Gm-Message-State: AOAM531Xa0oaZgGCgCcnA03G2RR2mF0MpfbJqaBHSvbvovOgOIRprd9y
oJvJecGJCldR59c1ENkpUBrXgn4zocoa/H5wD+HnBQ==
X-Google-Smtp-Source: ABdhPJzQmWbupg6vdJCfPLVkGNVJ06GjhRJ6nmYzrkIlPTOzwjErc0UpsKPlGHSENhA4EgGZgT4ozK7FvJk6Fs2cuyg=
X-Received: by 2002:a05:6512:104c:: with SMTP id
c12mr19879864lfb.589.1638560053709;
Fri, 03 Dec 2021 11:34:13 -0800 (PST)
MIME-Version: 1.0
References: <DBBPR03MB7116FECFBA323D95B70A8BC39B6A9 AT DBBPR03MB7116 DOT eurprd03 DOT prod DOT outlook DOT com>
In-Reply-To: <DBBPR03MB7116FECFBA323D95B70A8BC39B6A9@DBBPR03MB7116.eurprd03.prod.outlook.com>
From: Michael Enright <mike AT kmcardiff DOT com>
Date: Fri, 3 Dec 2021 11:34:02 -0800
Message-ID: <CAOC2fq82nf11UnH-4gnjjxR4oY=nrQBwFMpv+z8wjW+dcAt-CA@mail.gmail.com>
Subject: Re: Generating Linux Compatible binaries
To: "Goswami-EXT, Himanshu" <himanshu DOT goswami-EXT AT continental-corporation DOT com>
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Fri, Dec 3, 2021 at 8:51 AM Goswami-EXT, Himanshu
<himanshu DOT goswami-EXT AT continental-corporation DOT com> 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?
>

Eliot Moss recommends a VM and that's a good option.

Another option is to use Cygwin to host a cross compiler. I  have used
Cygwin to build and install cross compilers that ran on Cygwin and
built code for my Raspberry Pi 2. There are many tutorials on building
and creating cross compilers and I won't try to equal them. But this
is a versatile method. If the target Linux was one that runs on a
different processor and a virtual machine would be inefficient or lack
the resources to carry out the build, then running a cross compiler on
your Windows machine, under Cygwin or otherwise, might be an option to
consider.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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