public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Compile cygwin1.dll from source code
@ 2018-02-13  5:24 Biswapriyo
  2018-02-13  5:31 ` Mark Geisert
  2018-02-13  6:45 ` Biswapriyo
  0 siblings, 2 replies; 4+ messages in thread
From: Biswapriyo @ 2018-02-13  5:24 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile cygwin1.dll from source code
  2018-02-13  5:24 Compile cygwin1.dll from source code Biswapriyo
@ 2018-02-13  5:31 ` Mark Geisert
  2018-02-13  6:45 ` Biswapriyo
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Geisert @ 2018-02-13  5:31 UTC (permalink / raw)
  To: cygwin

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

Check the FAQ, specifically...
https://cygwin.com/faq.html#faq.programming.building-cygwin

..mark


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile cygwin1.dll from source code
  2018-02-13  5:24 Compile cygwin1.dll from source code Biswapriyo
  2018-02-13  5:31 ` Mark Geisert
@ 2018-02-13  6:45 ` Biswapriyo
  2018-02-13  7:30   ` Marco Atzeri
  1 sibling, 1 reply; 4+ messages in thread
From: Biswapriyo @ 2018-02-13  6:45 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile cygwin1.dll from source code
  2018-02-13  6:45 ` Biswapriyo
@ 2018-02-13  7:30   ` Marco Atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2018-02-13  7:30 UTC (permalink / raw)
  To: cygwin

On 13/02/2018 07:44, Biswapriyo wrote:
> /usr/bin/awk: cannot
> execute binary file: Exec format error


is awk working ?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-13  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-13  5:24 Compile cygwin1.dll from source code Biswapriyo
2018-02-13  5:31 ` Mark Geisert
2018-02-13  6:45 ` Biswapriyo
2018-02-13  7:30   ` Marco Atzeri

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