From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com, cygwin-developers@cygwin.com
Subject: Re: Jemalloc under CYGWIN
Date: Sun, 06 Dec 2015 14:08:00 -0000 [thread overview]
Message-ID: <20151206140756.GA17433@calimero.vinschen.de> (raw)
In-Reply-To: <CAJygYd0GR2OKXToeXFcDQSCEZmkEowrE=zFXn3oTonZNAxbOAw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]
On Dec 5 22:32, Yucong Sun wrote:
> I'm sorry, I got distracted from this issue and hadn't make any progress.
No worries.
> One thing specifically I need to be able to work on this issue is some
> information describing how to build/test cygwin lib (rather than using
> it). I couldn't find any information on the website, (or I havn't look
> deeply enough).
It's not complicated, really.
1. Install gcc and mingw-gcc.
2. Prepare build dir:
$ mkdir cygwin
$ cd cygwin
$ git clone git://sourceware.org/git/newlib-cygwin.git
[...]
$ mkdir build
$ cd build
3. Build:
$ export PREFIX=/usr
$ ../newlib-cygwin/configure \
--prefix=${PREFIX} \
--exec-prefix=${PREFIX} \
--bindir=${PREFIX}/bin \
--sbindir=${PREFIX}/sbin \
--libexecdir=${PREFIX}/lib \
--datadir=${PREFIX}/share \
--localstatedir=/var \
--sysconfdir=/etc \
--infodir=${PREFIX}/share/info \
--mandir=${PREFIX}/share/man \
--docdir=${PREFIX}/share/doc/cygwin \
--htmldir=${PREFIX}/share/doc/cygwin/html
$ make
# Or for debugging:
$ make CFLAGS='-gdwarf-2' CFLAGS_FOR_TARGET='-gdwarf-2'
Add -j<NUM> as desired.
HTH,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-12-06 14:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 11:18 Yucong Sun
2015-10-16 15:57 ` Yucong Sun
2015-10-21 10:53 ` Corinna Vinschen
2015-10-21 13:50 ` Yucong Sun
2015-10-21 14:15 ` Yucong Sun
2015-10-21 14:16 ` Corinna Vinschen
2015-10-21 15:40 ` Yucong Sun
2015-10-21 16:06 ` Corinna Vinschen
2015-11-26 9:34 ` Corinna Vinschen
[not found] ` <CAJygYd232P=HQVufwQKtU37hHDiJZO5gzpM7fPKndLGMycJBgw@mail.gmail.com>
2015-12-05 14:32 ` Yucong Sun
2015-12-05 17:05 ` Andrey Repin
2015-12-06 14:08 ` Corinna Vinschen [this message]
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=20151206140756.GA17433@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin-developers@cygwin.com \
--cc=cygwin@cygwin.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).