emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Emacs from a new MinGW environment


From: Eli Zaretskii
Subject: Re: Building Emacs from a new MinGW environment
Date: Sun, 15 Sep 2013 12:28:50 +0300

> Date: Sat, 14 Sep 2013 23:19:06 +0200
> From: Dani Moncayo <address@hidden>
> Cc: Emacs development discussions <address@hidden>
> 
> >> > What is the value of srcdir in top-level Makefile?
> >>
> >> it is
> >>   /home/dani/emacs/emacs.git
> >
> > That's the source of the problem, it should be something like
> > /c/msys/home/dani/emacs/emacs.git.  So it now looks like configure
> > and/or config.status didn't edit Makefile.in as it should have.
> >
> > How did you invoke the configure script?
> 
> Like this:
>   $ cd ~/emacs/build
>   $ rm -fr *
>   $ CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3'
> ../emacs.git/nt/msysconfig.sh --enable-checking

This is OK.

> And apparently, everything was fine:
> 
>   Configured for `i686-pc-mingw32'.
> 
>     Where should the build process find the source code?    
> /home/dani/emacs/emacs.git

No, this is already wrong: the source directory should be something
like /c/msys/home/dani/emacs/emacs.git, i.e. the full Windows file
name in MSYS format.  Something is still not working correctly.

Are you sure you restored the MSYS tools correctly?  E.g., do you have
dirname.exe and sed.exe in C:/MSYS/bin, and are those MSYS
executables?  Also, which version of MSYS Bash do you have?

The configure script computes the source directory in a fragment that
starts with this comment:

  # Find the source files, if location was not specified.

Perhaps add 'echo' there in strategical places to see what is not
working, and why.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]