public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jose Isaias Cabrera <jicman@outlook.com>
To: Oskar Skog <oskar@oskog97.com>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Building SQLite3 CLI without
Date: Sat, 3 Dec 2022 21:14:16 +0000	[thread overview]
Message-ID: <DB9P251MB0063761CFC1BC753808EFCCADE169@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <fd07602a-62d5-e72d-7363-825dc709b59b@oskog97.com>


On December 2, 2022 4:37 PM, Oskar Skog expressed:
> 
> On 2022-12-02 22:37, Jose Isaias Cabrera via Cygwin wrote:
> >

> > Is there an option that I can do to build the tool without the need of
> > the cygwin1.dll? I know that I can move the file in the same spot, but I
> > want to create it without the need of it. Thanks for your support.

> "No. If your program uses the Cygwin API, then your executable cannot run 
> without cygwin1.dll. In particular, it is not possible to statically link
> with a Cygwin library to obtain an independent, self-contained executable."

Not true. To do this, use the mingw32 or 64 compiler, as this,

CC=i686-w64-mingw32-gcc ./configure

and the SQLite3 tool will work without the cygwin1.dll.  If you want to try it let me know and I will post the steps to follow.

  parent reply	other threads:[~2022-12-03 21:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02 20:37 Jose Isaias Cabrera
2022-12-02 21:37 ` Oskar Skog
2022-12-02 21:53   ` Jose Isaias Cabrera
2022-12-03 21:14   ` Jose Isaias Cabrera [this message]
2022-12-03 22:20     ` Ken Brown
2022-12-03 23:15       ` Jose Isaias Cabrera
2022-12-03 16:23 ` Andrey Repin
2022-12-03 18:34   ` Jose Isaias Cabrera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB9P251MB0063761CFC1BC753808EFCCADE169@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM \
    --to=jicman@outlook.com \
    --cc=cygwin@cygwin.com \
    --cc=oskar@oskog97.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).