public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Biswapriyo <nathbappai@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Compile cygwin1.dll from source code
Date: Tue, 13 Feb 2018 06:45:00 -0000	[thread overview]
Message-ID: <CALK-3mJdoi=pGfY1=bGDYca6+uMo-TmA6BZ9j+r2PXDGn-SChg@mail.gmail.com> (raw)
In-Reply-To: <CALK-3mJKbEjM7t3P74rJsfD3hNG_8QmZzDD8AD6W5=Gpvnaz1w@mail.gmail.com>

cygwin make command shows this error:

```
../../.././winsup/cygwin/cygmagic: line 25: /usr/bin/awk: cannot
execute binary file: Exec format error
*** WARNING WARNING WARNING WARNING WARNING ***
*** ../../.././winsup/cygwin/child_info.h: magic number for
CHILD_INFO_MAGIC changed old 0xc96f5e9U != new
*** WARNING WARNING WARNING WARNING WARNING ***
c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall
-Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin
-fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer
-mcmodel=small -c -o dcrt0.o ../../.././winsup/cygwin/dcrt0.cc
../../.././winsup/cygwin/dcrt0.cc: In function 'child_info*
get_cygwin_startup_info()':
../../.././winsup/cygwin/dcrt0.cc:535:76: error: expected
primary-expression before ')' token
       || res->intro != PROC_MAGIC_GENERIC || res->magic != CHILD_INFO_MAGIC)
                                                                            ^
make[3]: *** [../../.././winsup/cygwin/../Makefile.common:41: dcrt0.o] Error 1
make[3]: Leaving directory
'/cygdrive/c/MyFiles/cygwin/x86_64-unknown-cygwin/winsup/cygwin'
make[2]: *** [Makefile:81: cygwin] Error 1
make[2]: Leaving directory
'/cygdrive/c/MyFiles/cygwin/x86_64-unknown-cygwin/winsup'
make[1]: *** [Makefile:9464: all-target-winsup] Error 2
make[1]: Leaving directory '/cygdrive/c/MyFiles/cygwin'
make: *** [Makefile:883: all] Error 2

```


On Tue, Feb 13, 2018 at 10:54 AM, Biswapriyo <nathbappai@gmail.com> wrote:
> I want to edit some code in cygwin1.dll for my project. So, I clone
> git repository from this url:
> git://sourceware.org/git/newlib-cygwin.git
>
> I've gcc, g++, make installed with cygwin and mingw-w64 (and also in
> WSL). But none of them generate DLL file. I also follow the commands
> ./configure & make. Command generates only object files. Is it
> possible to compile cygwin1.dll from its source code?

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

  parent reply	other threads:[~2018-02-13  6:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-13  5:24 Biswapriyo
2018-02-13  5:31 ` Mark Geisert
2018-02-13  6:45 ` Biswapriyo [this message]
2018-02-13  7:30   ` Marco Atzeri

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='CALK-3mJdoi=pGfY1=bGDYca6+uMo-TmA6BZ9j+r2PXDGn-SChg@mail.gmail.com' \
    --to=nathbappai@gmail.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).