GNU bug report logs - #9960
Compiling Emacs trunk with MSVC

Previous Next

Packages: w32, emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 5 Nov 2011 11:24:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #266 received at 9960 <at> debbugs.gnu.org (full text, mbox):

From: Mario Lassnig <mario <at> lassnig.net>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, eggert <at> cs.ucla.edu, 9772 <at> debbugs.gnu.org,
	9960 <at> debbugs.gnu.org, 10155 <at> debbugs.gnu.org
Subject: Re: bug#9772: bug#10155: OSX breakage
Date: Wed, 30 Nov 2011 12:15:10 +0100
On 11-11-30 9:14 , Chong Yidong wrote:
> Eli Zaretskii<eliz <at> gnu.org>  writes:
>
>>> OK, then let's go with the ifdef conditioning directly in the Emacs
>>> sources.
>>>
>>> But is conditioning on OS X and FreeBSD the right thing?  We don't know
>>> if it fails on other BSDs.  Since revno 106533 was intended to fix the
>>> MS-WINDOWS build, I think it's better to condition it for WINDOWSNT for
>>> now, as below:
>>>
>>> Eli, WDYT?
>>
>> Fine with me.
>
> Done.  Could someone check if compilation on Mac OS X works now?

Looks good to me. Compiles, installs, runs. :-)

Thanks,
Mario





Mario <at> shodan:~/Development/emacs$ bzr clone 
bzr://bzr.savannah.gnu.org/emacs/trunk/
The command 'bzr clone' has been deprecated in bzr 2.4. Please use 'bzr 
branch' instead.
Branched 106554 revision(s). 

Mario <at> shodan:~/Development/emacs$ cd trunk/
Mario <at> shodan:~/Development/emacs/trunk$ echo $CFLAGS
-march=core2 -msse4.1
Mario <at> shodan:~/Development/emacs/trunk$ echo $CC

Mario <at> shodan:~/Development/emacs/trunk$ which gcc
/usr/bin/gcc
Mario <at> shodan:~/Development/emacs/trunk$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 
5658) (LLVM build 2336.1.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mario <at> shodan:~/Development/emacs/trunk$ sh autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.BZR for more details on building Emacs)

Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools, running autoreconf...
configure.in:635: installing `build-aux/compile'
configure.in:379: installing `build-aux/config.guess'
configure.in:379: installing `build-aux/config.sub'
configure.in:29: installing `build-aux/install-sh'
configure.in:29: installing `build-aux/missing'
lib/Makefile.am: installing `build-aux/depcomp'
You can now run `./configure'.
Mario <at> shodan:~/Development/emacs/trunk$ ./configure --with-ns

<snip>

Configured for `x86_64-apple-darwin11.2.0'.

  Where should the build process find the source code? 
/Users/Mario/Development/emacs/trunk
  What operating system and machine description files should Emacs use?
        `s/darwin.h' and `m/amdx86-64.h'
  What compiler should emacs be built with?               gcc 
-std=gnu99 -march=core2 -msse4.1
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    nextstep
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   /usr/X11/lib
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no
  Does Emacs use -lpng?                                   no
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use imagemagick?                             no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               no
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use toolkit scroll bars?                     yes





This bug report was last modified 13 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.