X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 503ED3856DD4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1685699943;
	bh=aKxu+y+O8WQ6rLpTizZNZ1oYTsTc8STxy/8WO1IlVL0=;
	h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive:
	 List-Post:List-Help:List-Subscribe:From:Reply-To:From;
	b=UAje0zHEbLZNRQuAT82kiRHJFmCSOKmcpYlxbEiDrjMZaiH3XwVqaKDG0kxYz4ZgZ
	 dDKHlwEBYbN2dPXLZQk511iS09vWHz2GkVK+MTmfsiAMzgYjloDlmWce3gx60brDIu
	 194vNgq6YfX5eM94UUHvKwbJhEnbioLGKzlGOzVE=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C2B63858D3C
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1685699903; x=1688291903;
 h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=KMuxjoGR59gIB5qxgtjRQ7XS9ED2ZD3T/U3bQIArv7w=;
 b=Nc6bGnworms+QS/21AYrzITGqR84tnarTc3tz0SUwMdpamB1AKXWhtj1blfEDdRw/R
 BiCii5pKR/HtTANNv6JKL56FHBaNQrFyoCULV1WVerHc/uWIyD8lknVeSKV/CpHAObOV
 gxmNtqeLtzt6zfibYHe2qhfNtWP+xOcTiVV3pok/kcZMZQzMKjiiT9sGY9FOPleBn7tc
 hDrWFBlOhUAKC1wadtXuiV7fM54Q4Fi681z6v3wqkyKRP7IOARqxfv7di3S6bCMCh2Oe
 /Sg0p/EQAIo8n+DP/wuKyFqGgKWq2tU6HaoJDw3+2w+OQBZtWzGiAlebkHExa1WjDbfU
 r77g==
X-Gm-Message-State: AC+VfDzYm7bWWZlEALTsUsRHmVBoMdMqGMmTLqYSqMjsApNXn2wOV0tc
 o23HrpO1yJcIpTBcuyCBUcQ6W11uSE0iT8tXMhOuy6wlyVXV3/J4
X-Google-Smtp-Source: ACHHUZ6ApLbAuVaW67Eo5XIE+GGFOLpSegKL482X3cyb3mYT9CTPxbRsASiIW2RwSp9/luD14fhO8lhkto9ulYhM+ug=
X-Received: by 2002:a17:907:84a:b0:965:6075:d0e1 with SMTP id
 ww10-20020a170907084a00b009656075d0e1mr10321404ejb.72.1685699903262; Fri, 02
 Jun 2023 02:58:23 -0700 (PDT)
MIME-Version: 1.0
Date: Fri, 2 Jun 2023 15:28:11 +0530
Message-ID: <CADcTMCY-CZkWjxpXB2z-tMF1_Yj4TSmBX-GiUcy+KK4oE1fXig@mail.gmail.com>
Subject: Getting return code "127" after execution of program
To: cygwin@cygwin.com, cygwin-owner@cygwin.com, mailman@cygwin.com,
        cygwin-developers@cygwin.com, cygwin-developers-owner@cygwin.com
Cc: aashishchavan@yahoo.com, sivaji.cdev@gmail.com, atulpathare226@gmail.com
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.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@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>
From: rajesh kesavan via Cygwin <cygwin@cygwin.com>
Reply-To: rajesh kesavan <rajeshrube@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hi,

We are Trying to execute a program like ./sample.exe on 64 bit Cygwin. This
executable is built with CMake on Cygwin 64 bit.
The Program is not throwing any error or success details. it simply comes
out from the running screen without any error and success states.
and we checked output status using "*$?*" It returns "*127*" output.

We checked the missing libraries by using "cygcheck sample.exe" and added
the required libraries as per the *cygcheck* report.


*Details:*
$ gcc --version
*gcc (GCC) 11.3.0*
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
*GNU ld (GNU Binutils) 2.40*
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later
version.
This program has absolutely no warranty.

$ cygcheck --version
*cygcheck (cygwin) 3.4.6*
System Checker for Cygwin
Copyright (C) 1998 - 2023 Cygwin Authors
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Please let me know if you want more details.


Regards,

Rajesh K

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