X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=SFL90IP1r8tznjELhVC5aHizKLySN 4VwSo1XYiNZVRPd3nEJUUEVkORWZZ6jy5LH8I5lxP/gBnBVFekCnu1lhEKxpNIuK GvVEY1KlxXTmL+39MiM7QUygoUE2fey34oQyfmK5jWuXo/vfIxYrl6Vy9gm19iJ3 5th9jCRC8luoWc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=MmUxmNXQ4mO5kfBNy1asjAiz0+c=; b=BLe C8j3mhUOpZFkd5eNlabf4nfHm5dePGDT3NvRv851cuzA+cQ9olmbqseCBMbz2vVc L6ZWW9M5FYKtXqqCVM/PEEJb3V947oixTpodFoe/vjxLt6cGeGL068V9kWHyq5OA w8sSdEnzlJO5OQPsdC2xIUbUNU5Gzb0MxuBF8/9w= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*Ad:D*outlook.com, HX-Languages-Length:856, UD:tar.xz, UD:xz X-HELO: NAM04-SN1-obe.outbound.protection.outlook.com From: Tony Kelman To: Jose Isaias Cabrera , "cygwin AT cygwin DOT com" Subject: Re: How to build a DLL without cygwin DLL dependencies Date: Wed, 29 May 2019 17:55:42 +0000 Message-ID: References: In-Reply-To: x-ms-exchange-purlcount: 1 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x4THttB7012976 > I am trying to build the latest sqlite windows DLL, and I am > succeeding, but I am getting an error that cygwin1.dll is missing, > when I am trying to use the DLL from outside cygwin in the Windows > environment.  I am using, > > gcc -shared sqlite3.c -o sqlite3.dll > > to build it, but this command creates a dependency for cygwin1.dll. > Is there any way to build the dll as a standalone DLL with no > dependency?  Thanks. Yep, you want the mingw-w64 cross compiler, x86_64-w64-mingw32-gcc (or i686-w64-mingw32-gcc for 32 bit). There's a cross-compiled sqlite package already available under mingw64-x86_64-sqlite3 in setup - or http://mirrors.kernel.org/sourceware/cygwin/noarch/release/mingw64-x86_64-sqlite3/mingw64-x86_64-sqlite3-3.19.3-1.tar.xz if you're okay with that particular release. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple