X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E2A453858D37
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
 spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=Y6brDzSN c=1 sm=1 tr=0 ts=624ddc81
 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17
 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10
Message-ID: <759df8dd-351a-d2ff-75c6-eae3fdf1587f@SystematicSw.ab.ca>
Date: Wed, 6 Apr 2022 12:31:28 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.7.0
Subject: Re: Compiling gnu diction on Cygwin
Content-Language: en-CA
To: cygwin@cygwin.com
References: <CAFWoy7ESdsGMzn7cxcnG1TCy1tJq1CQ7v6hfcmt80-1RdkUMLQ@mail.gmail.com>
 <CAEhDDbAZ04bPnsxbfehtU-2cxopp1kTpZ8J6Wfi2sfuHyjK7AQ@mail.gmail.com>
 <CAFWoy7GOz-O2BD=2=6=qMCPyi_L-Vi+SzgtfmTyAgCiyyiYFAg@mail.gmail.com>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Organization: Systematic Software
In-Reply-To: <CAFWoy7GOz-O2BD=2=6=qMCPyi_L-Vi+SzgtfmTyAgCiyyiYFAg@mail.gmail.com>
X-CMAE-Envelope: MS4xfPl8DB9f3528qYnAd6urwnQWZMeWGUM9YtDsUQjWIDZiMzGZ/fEhEWp8ff9vSXFc0eyh4HF20taw76v+HdK5t/wHh1ZF+JYtPFH7++Q/c1EGcsOGJ7lJ
 d/qt5BSRJXR23Vot3I58jnMqK98i3wF1MA9mEGZace9X/VhZRARk+079xSzURTBLX6c4p1t5RuYVpR/SzrOhFst9/ya4jQwME8o=
X-Spam-Status: No, score=-1165.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP,
 T_SCC_BODY_TEXT_LINE 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 2022-04-06 08:59, Keith Christian wrote:
> Brian, Csaba, I was able to complete the compile with your assistance.
> Brian: I'll experiment with your suggestions of:  #include <stdlib.h>
> and remove casts (should not normally be required or used in C) as
> well.
> Csaba:  Adding the -Wall -Wpedantic -Wextra fixed the issue, thanks.
> This will help a great deal as I pursue troubleshooting failed C compiles.

The easiest way to build is using cygport - you need to provide only the 
minimum necessary definitions in your .cygport script, and run:

	$ cygport *package*.cygport get prep

to download and patch sources, and run:

	$ cygport *package*.cygport all

to compile, build, stage, and package for Cygwin.

To apply patches, edit sources under pkg-ver-rel.arch/src/...,
diff edited files against files under pkg-ver-rel.arch/origsrc/...
to generate each patch, and add to the PATCH_URI list in each cygport.
This allows you to reuse your patches on later releases, or submit them 
upstream, so you do not need to apply them to later releases.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

-- 
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
