From: Maks Romih <maks.romih@t-2.net>
Subject: make in Cygwin fails on compiling callproc.c
Date: Sun, 1 Oct 2006 15:55:52 +0200 (CEST) [thread overview]
Message-ID: <20061001155552.AES60936@m1.t-2.net> (raw)
Done the following:
-- got a fresh new machine preinstalled wtih Windows XP Home edition, no Visual C or any development tools
-- installed the newest Cygwin I could get on www
-- in rxvt (a Cygwin console window) unpacked emacs-21.4a.tar.gz
-- mounted the directory with mount -t
-- cd emacs-21.4/nt; ./configure.bat; make
Make fails on file src/callproc.c with conflicting types for egetenv. I look into the sources. I see that the definition of egetenv in lisp.h is guarded with #ifdef USE_CRT_DLL. I try to run the command gcc, as I see it from make, but leave the -IUSE_CRT_DLL=1. It compiles OK and then make goes successfully forward until the end.
I run make install and everything seems OK.
I suggest you repair somehow the condition in #ifdef USE_CRT_DLL in lisp.h to not skip the definition when in Cygwin.
I also miss the information about newer versions of gmake etc. in INSTALL and README and I found the instructions about mounting text!=binary confusing. I had to try both ways and I still don't know if it's important at all.
Some (maybe) useful facts of my installation:
$ uname
CYGWIN_NT-5.1 MAKSRMOB 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured)
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
next reply other threads:[~2006-10-01 13:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-01 13:55 Maks Romih [this message]
2006-10-02 8:41 ` make in Cygwin fails on compiling callproc.c Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061001155552.AES60936@m1.t-2.net \
--to=maks.romih@t-2.net \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).