From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by sourceware.org (Postfix) with ESMTPS id 32F153858D28 for ; Fri, 3 Dec 2021 19:34:15 +0000 (GMT) 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 Received: by mail-lf1-x12d.google.com with SMTP id n12so8978614lfe.1 for ; Fri, 03 Dec 2021 11:34:15 -0800 (PST) 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: In-Reply-To: From: Michael Enright Date: Fri, 3 Dec 2021 11:34:02 -0800 Message-ID: Subject: Re: Generating Linux Compatible binaries To: "Goswami-EXT, Himanshu" Cc: "cygwin@cygwin.com" Content-Type: text/plain; charset="UTF-8" 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2021 19:34:16 -0000 On Fri, Dec 3, 2021 at 8:51 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? > 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.