unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: sds@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: cannot build bzr tip on mingw
Date: Mon, 02 May 2011 23:31:59 +0300	[thread overview]
Message-ID: <83tydc4zeo.fsf@gnu.org> (raw)
In-Reply-To: <svwri8khqi.fsf@tbox.wtc.algo>

> From: Sam Steingold <sds@gnu.org>
> Date: Mon, 02 May 2011 15:47:01 -0400
> 
> $ ./configure.bat --no-debug --with-gcc --cflags -IC:/gnu/gnuwin32/include --ldflags -LC:/gnu/gnuwin32/lib  --without-xpm

Do you always configure like that, or did something change since the
last time you bootstrapped?

> $ make bootstrap
> ...
> gcc -o oo-spd/i386/make-docfile.exe    -mno-cygwin -LC:/gnu/gnuwin32/lib oo-spd/i386/make-docfile.o oo-spd/i386/ntlib.o   -ladvapi32
> /usr/bin/ld: cannot find crt2.o: No such file or directory
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmoldname
> /usr/bin/ld: cannot find -lmingwex
> /usr/bin/ld: cannot find -lmsvcrt
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmoldname
> /usr/bin/ld: cannot find -lmingwex
> /usr/bin/ld: cannot find -lmsvcrt
> collect2: ld returned 1 exit status
> make[1]: *** [oo-spd/i386/make-docfile.exe] Error 1
> make[1]: Leaving directory `/cygdrive/c/sds/src/emacs/trunk/lib-src'
> make: *** [bootstrap-gmake] Error 2

I don't get these errors when linking make-docfile.exe, but I didn't
do a bootstrap.  (Not sure why it should matter, though.)

What does the following command display?

    gcc -print-file-name=libmingw32.a

> Incidentally, I am using
> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> and I am wondering if using gcc4 is an option.

I'm using

    gcc (GCC) 3.4.2 (mingw-special)

and won't touch gcc4 with a 3-mile stick, until 4.6.x gets mature
enough, and I can have my debugging together with -O2 again, like I
had with 2.7.x and 2.8.x.

But yes, you can use GCC 4, modulo the caveats in etc/PROBLEMS.



  reply	other threads:[~2011-05-02 20:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 19:47 cannot build bzr tip on mingw Sam Steingold
2011-05-02 20:31 ` Eli Zaretskii [this message]
2011-05-02 20:40   ` Eli Zaretskii
2011-05-02 21:13   ` Sam Steingold
2011-05-02 22:08     ` Ken Brown
2011-05-02 22:21       ` Sam Steingold
2011-05-03  2:47         ` Ken Brown
2011-05-04 21:30           ` Ken Brown
2011-05-03  0:15       ` Jason Rumney
2011-05-03  3:00     ` Eli Zaretskii
2011-05-03 11:16       ` Ken Brown

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=83tydc4zeo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=sds@gnu.org \
    /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).