delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/12/10/09:43:54

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3EB93848E01
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1670683385;
bh=u4aUQ00KJISWMtF/rgQ5wLYzufBG0gHv2LfzV+gWrCA=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=jwUptQTHaxtqHS3ybtICkFSdiOvBJEJLqb/ZZ+yTtJpiPOPL0auSpicYhApK2fXH7
B/z/5KBXDXYUIByP5gFMzMpnhizUETF4bxEv9w+34YBvkGrK0TVD9ig/DiRiFehZiw
JVoBZnj26bgXH6PBDWTN5UaW/k+7C5wqA8JwTOHk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2EBE6384E209
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=G8sasc2VyDODCgbqA5gi8ZK/Nln9vaLoO43GI3HACuY8xa5V2h0Cr7H7uM+pNPGCGM9OcKFe8as8mLxT9oem5AstFRq0OLc3cRkFBQd3niCSNEhMGlJTG/ANGpK46+ajJwulExacCzgG9GWXdT4AxERquBYAxmTeHxgdrfcGld8opyZ1R8Sazd/0O6qlrnpY5txTSrzQbL6tC1TOGpSFmy2VgAXwE4f7jX4w324hk8AKZwsKLLV5bDpmtjYbLOMyBnwMUpeOimRsyeFaHvq8WUy80nC5WRdimaPkOpCS00F9Ep+Xi9SwttGbEFi2AJZpWpSmjudLlyv9H9UkYO5mHg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=LqRMOzuMVCYQGjNwhWz8C9iHCP5nKK8oD3Zym9Rt0so=;
b=HT72V1dsCM/AWrfr+DOolvBk1ZlTu19DJUCqAGp3xno4+NG9hpm7FaHYA1wBgoCh7caTtoQeO9R2hXhyQvka8waoMtFDv3z8SGtomKsnE2JgF98LiuDNEnkzeHSvzse1tNIimhrrM7rC5Vkr/eBHkxQwMCTBvsockvJnuIN9wx105vrILK7eb45Na75neqe6nfz60yIIQxfSGvrg39vRQdOW2BKRIvSYdRY45jRNtOkTAHZzugAVRqwKvFVABA5H7BWQHt0ksYKlw1bina7mIriKtoFBGjVR12yLrUC7EbQvgNBos/5w5QLSNPhavcMUwdVh/eT0h/iuNJM1LrrLxw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Message-ID: <86109171-9f9e-4541-e615-8ea4073f8137@cornell.edu>
Date: Sat, 10 Dec 2022 09:42:39 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
Subject: Re: Creating the sqlite3.exe stand-alone w/o cygwin dependency
To: Jose Isaias Cabrera <jicman AT outlook DOT com>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <DB9P251MB00639C367F5AA38BF0F18B55DE1C9 AT DB9P251MB0063 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM>
In-Reply-To: <DB9P251MB00639C367F5AA38BF0F18B55DE1C9@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM>
X-ClientProxiedBy: MN2PR14CA0024.namprd14.prod.outlook.com
(2603:10b6:208:23e::29) To SA0PR04MB7322.namprd04.prod.outlook.com
(2603:10b6:806:e2::7)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: SA0PR04MB7322:EE_|DM5PR04MB1259:EE_
X-MS-Office365-Filtering-Correlation-Id: e850e129-a32a-4356-f77f-08dadabccb14
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: b7ZYuj0JJEt7zOstBM4P2+Gbg1lhnWIzc2iJifOxZnSWwcXA7EYHm/SzD68t2G21j3cm/pssRwIUxbcr0zikRRPYsbTYoBj7uoUT4f4carasZpPF+RNuZcjtQTnZms7AU0YiSHzJTcDK7+nCRDLnYvvjKkslLaA6tRtUNc6cJENotsBsEFIJI5xCbTTcrrPzucCpwazP3yk2ZlV7KVxj0WvmoZmPHmeObjYIbZSpDH/B/fKLGMlH2mbtlUDrf8Dl3bo0Tpxmw7Zl++HLMkT3ZM5NNPN3iHfzyJqrgWjKJf8rJwFMXtzBWPrF1/HEnmJ3b1S43wgPZ8tfOQNKpKy96mxNhp8CR2BXjYRyN2n30v0/jNvM3JRUEj5lzlfItIm6YDMGU99XB9Du0POv915ix2CGiddW+l2NG+KBb9ld+zyd2QZN2fLER0A4i7B/zTY51kyDXTzp/dxJzaceLTu+SLC9/F01xELGNntSHkNROaT0o7XqkleLX2O6OeNxlwoC5jhjINPlRWdWx4/4itMz9NXtvBYJpYC4iZrD3r1QjxW+KR1wGxPnFcBVHNuAjGlgbLblIGANex2jaZO3wqRWDjbR+ukwgMLM5NDmZsoQSvkk8kPbRvyjm2Lh9wzsXaWeNm/QaKwpsBx9itfVwgnBWcK1B5PgqoiMrZU4jRE0EIhXu5LtOAIPD76F7th9OtscyvGjM/hQn1FI32hWa+ogISAl6yhYERYGq2cXJQiYgoF4ZXQ5U2L5Q1GSPLEtZ7oF
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:SA0PR04MB7322.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(13230022)(4636009)(39860400002)(346002)(366004)(376002)(136003)(396003)(451199015)(2616005)(86362001)(186003)(8936002)(31696002)(38100700002)(75432002)(41320700001)(5660300002)(478600001)(8676002)(66476007)(66556008)(66946007)(6512007)(41300700001)(53546011)(6506007)(6666004)(316002)(110136005)(786003)(6486002)(2906002)(36756003)(31686004)(43740500002)(45980500001)(460985005);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OVFQS0wvc2NUejE3MFZaYmtQc0QvVVg1QjJBK3IvYzdDYVROb2FzNStUVTdu?=
=?utf-8?B?b2puVnFRWCtwcnFXbVlySFBVRzk1OXpwRjRiWjRBRENaNlhaOHI3a28vam5j?=
=?utf-8?B?aXU4R0dZUFFFcllnREVoR09DS1paTlZPZmxSL1QxSGtkMUVoVmN4NDk0VGdB?=
=?utf-8?B?S0tMSmlVUFMzK29vV0xJYlNCbTdHQXBlM2FDYmRtQjFsM2RUakFXWjF0UnpT?=
=?utf-8?B?cmtTdEtIaldveGdQdG9OQXV1TVpuVDZPWVE3Z284RHJ1NkUrY2xFUG1BZndI?=
=?utf-8?B?enhMWHAyYmFWMDZYc3RyUUE4dVQ4U0hHS2tGQm51WVp5UWx1cnlpcTRKZnBU?=
=?utf-8?B?bTh4dHRnRTNabDlxRDZUWUl2cnJnM0p5cGVNRkVDYzd1ZjZwdE00U2xOb0Za?=
=?utf-8?B?SmZwRHVaaWVzUCthb2dZTzZmcHRwa0YyclVHVGl3TmFqUHgxSmQ5a1BJTlNL?=
=?utf-8?B?Mm1uT1VPRmxtd0RLcFNPcXYzRE9jc25JZ1FjZnA2WXlHdTE0R3JheXhubEZt?=
=?utf-8?B?NjJkcFAyS0NCSFJHbGF5YVVtZjZSRlRCN2dWUytzWTVFZDE1aXN2RHdocUFZ?=
=?utf-8?B?UXc1cXZxY05BYXJtbDhUVGlPNmR4ZmFjL2hyb2ZIcG56QXRYcWhPSXRnYmla?=
=?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Y3pPQjR6QllZSGxsQ1EwdnY5dndQ?=
=?utf-8?B?MVhXS1ZqWXpSMWVGSDRjcWRIdU9ZdlhWME1hL1NpZWUydHgxY2FiU0tyTEc3?=
=?utf-8?B?aEt6OGcvR1lYNkI1WHF1OGdMcFBBdmx1RUdaRWlzNkMrUEdFQmJ2a1NkaDBO?=
=?utf-8?B?d3RPeVVTRmVEc0RvTjM2dHlGQXl3QUhpdThqU0VQUEJyU0E3UXZYZWhNUHkz?=
=?utf-8?B?WS9GQm4rMEQvM2NtVFQ0WnVpTk4zUTg4dWVkUnA5djhGRDFaQ1BxbXBKb2pt?=
=?utf-8?B?RDRVTjl2Z3dpS1lSNzVGZ2JEV2VVa0YrV21tRGlDUFRGMHVtQitwMzhGUUNG?=
=?utf-8?B?QlJTU3FVSElQSlNQaFh1ZzFYb3h6aWpEMEdybm4rWVpIVHNodVcwbzZPL0RN?=
=?utf-8?B?SFRoZ25hZnFEZXYvR3FNMDhLd2tET3VPZGR0cjV3YTB3M0x3MXlpa29kblFB?=
=?utf-8?B?Q2ZqTHFQQ0dwMzc1MkZ1NWVVT3pHY0pDb0pYWndpdzVHNnUrbnd1NHdlaFlN?=
=?utf-8?B?YnB3R2xQcmVGTi8rbitUQzBvSVB3WFBsYUdQNTlDemFCQjlSN1JRVDhzdHJm?=
=?utf-8?B?bVF3cFdDWXlIdWFBb1BNTGdXTnorVEc5M1JaK3dZdUxRUExHekZMSVhrbEVN?=
=?utf-8?Q?AYNnMr3i8WoWwfnTk3AWQGAG92XtQNDPgFrrbIv3vp9r?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: e850e129-a32a-4356-f77f-08dadabccb14
X-MS-Exchange-CrossTenant-AuthSource: SA0PR04MB7322.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2022 14:42:42.4660 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 9rOomwymh1rsMdHSvf9BQV4GMoK8XnvrsN0raxTVFSPGE5XQeY3JhhbRqsMoJxHbHPfeyuyFsvFjULnH2LgyYA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR04MB1259
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP 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-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>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 12/9/2022 4:34 PM, Jose Isaias Cabrera via Cygwin wrote:
> 
> Greetings!
> 
> Using these commands,
> 
> ./configure --host=i686-w64-mingw32 CFLAGS=-shared CFLAGS=-static-libgcc
> make sqlite3.exe sqlite3.dll
> 
> I can create the sqlite3 DOS application and the sqlite3 Windows 10 DLL. I have no problem with the DLL. But with the sqlite3.exe CLI tool, I can run it in the Cygwin environment, and I can also double click on the app from the Windows 10 environment and run it, and that also works perfectly. The problem happens after I move that sqlite3.exe to C:\bin directory. When I run it from the DOS Command Prompt, I get this error:
> 
> DOS|16:19:00.58>sqlite3
> DOS|sqlite3: FATAL: Couldn't find sqlite3.
> 
> If I add .exe to the end,
> 
> DOS|16:19:57.46>sqlite3.exe
> DOS|
> DOS|16:21:33.36>
> 
> It appears as if it starts and does nothing. I tried chatting with SQLite folks, but, apparently, I am the only one that uses Cygwin. I have been using Cygwin for a long time, and I like it. Thoughts? Suggestions? Any help would be greatly appreciated.
> 
> PS: This is the make sqlite.exe run:
> 
> E608313 AT HOR711318E ~/b/sqlite/SQLite-78723a9a
> $ make sqlite3.exe
> ./libtool --mode=link i686-w64-mingw32-gcc -shared -static-libgcc -DSQLITE_OS_WIN=1 -I. -I/home/E608313

I don't know if this is the problem, but do you really want to be using 
'-shared' when building an executable?  I thought that was for building shared 
libraries.

Ken

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