From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?B?VmluY2VudCBCZWxh72NoZQ==?= Newsgroups: gmane.emacs.devel,gmane.emacs.semantic Subject: RE: [cedet-semantic] Latest CEDET on BZR does not compile with emacs 24.1 Date: Sun, 7 Oct 2012 18:37:11 +0200 Message-ID: References: <80627pfvx8.fsf@gmail.com>, , <87k3vhesof.fsf@randomsample.de>, , <877grgdmcd.fsf@randomsample.de>, , <87mx0bcioh.fsf@randomsample.de>, , <87sj9yb4kw.fsf@randomsample.de>, , <83obkka8c8.fsf@gnu.org>, , <83mx038fm8.fsf@gnu.org>, , <83wqz265c1.fsf@gnu.org>, , <83ipam5psf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_34dda03e-ce47-4aab-b10e-4b104155c621_" X-Trace: ger.gmane.org 1349627844 1090 80.91.229.3 (7 Oct 2012 16:37:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 16:37:24 +0000 (UTC) Cc: "cedet-semantic@lists.sourceforge.net" , "deng@randomsample.de" , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 18:37:30 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TKtr7-0006ZA-Sy for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 18:37:30 +0200 Original-Received: from localhost ([::1]:44359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKtr1-0002tW-QS for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 12:37:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKtqy-0002tP-Lq for emacs-devel@gnu.org; Sun, 07 Oct 2012 12:37:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKtqw-000480-Nt for emacs-devel@gnu.org; Sun, 07 Oct 2012 12:37:20 -0400 Original-Received: from dub0-omc2-s27.dub0.hotmail.com ([157.55.1.166]:58219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKtqt-00047d-2S; Sun, 07 Oct 2012 12:37:15 -0400 Original-Received: from DUB102-W10 ([157.55.1.136]) by dub0-omc2-s27.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 7 Oct 2012 09:37:12 -0700 X-Originating-IP: [92.135.119.148] Importance: Normal In-Reply-To: <83ipam5psf.fsf@gnu.org> X-OriginalArrivalTime: 07 Oct 2012 16:37:12.0109 (UTC) FILETIME=[005CCDD0:01CDA4AA] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-Received-From: 157.55.1.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154193 gmane.emacs.semantic:3037 Archived-At: --_34dda03e-ce47-4aab-b10e-4b104155c621_ Content-Type: multipart/alternative; boundary="_46368b14-cc51-4f20-8770-063a8f976626_" --_46368b14-cc51-4f20-8770-063a8f976626_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C > Date: Sun=2C 7 Oct 2012 16:18:24 +0200 > From: eliz@gnu.org > Subject: Re: [cedet-semantic] Latest CEDET on BZR does not compile with e= macs 24.1 > To: vincent.b.1@hotmail.fr > CC: deng@randomsample.de=3B cedet-semantic@lists.sourceforge.net=3B emacs= -devel@gnu.org >=20 > > From: Vincent Bela=EFche > > CC: "cedet-semantic@lists.sourceforge.net" > > =2C "deng@randomsample.de" > > =2C emacs-devel > > Date: Sun=2C 7 Oct 2012 13:49:19 +0200 > >=20 > > Here is what I get with=20 > >=20 > > mingw32-make.exe bootstrap MAKE=3Dmingw32-make.exe > >=20 > > =2C in a cmd.exe console=2C but with still MSYS in my path (for rm and = such likes): >=20 > Keeping MSYS on PATH is a mistake=2C see below. >=20 > > mkdir "oo-spd" > > mkdir "oo-spd/i386" > > echo oo-spd/i386 > stamp_BLD > > gcc -I ../src -I. -c -gdwarf-2 -g3 -mtune=3Dpentium4 -O2 -I c:/Prog= ramme/GNU/installation/emacs-install/libXpm-3.5.7/include -I c:/Programme/G= NU/installation/emacs-install/libXpm-3.5.7/src -o oo-spd/i386/make-docfile= .o make-docfile.c > > In file included from ../src/config.h:1673:0=2C > > from make-docfile.c:37: > > ../src/conf_post.h:32:27: fatal error: ms-w32.h: No such file or direct= ory > >=20 > >=20 > >=20 > > For some reason -I ../nt/inc is dropped=2C well I could just add --cfla= gs -I --cflags ../nt/inc the call of configure.bat.=20 >=20 > It's MSYS again=2C no doubt. Remove MSYS from PATH=2C and use non-MSYS r= m > and cp. >=20 >=20 I just did that=2C I installed gnuwin32 into c:/msys/1.0/gnuwin32 (well it = may seem a stange location=2C but I have mingw32 also under msys/1.0=2C so = why not)=2C and I am still getting this: rm stamp_BLD mingw32-make.exe[1]: Leaving directory `C:/Programme/GNU/installation/emacs= -install/emacs/trunk/lib-src' mingw32-make.exe -C ../lib-src make-docfile mingw32-make.exe[1]: Entering directory `C:/Programme/GNU/installation/emac= s-install/emacs/trunk/lib-src' mkdir "oo-spd" mkdir "oo-spd/i386" echo oo-spd/i386 > stamp_BLD gcc -I ../src -I. -c -gdwarf-2 -g3 -mtune=3Dpentium4 -O2 -I C:/Programm= e/GNU/installation/emacs-install/libXpm-3.5.7/include -I C:/Programme/GNU/i= nstallation/emacs-install/libXpm-3.5.7/src -o oo-spd/i386/make-docfile.o m= ake-docfile.c In file included from ../src/config.h:1673:0=2C from make-docfile.c:37: ../src/conf_post.h:32:27: fatal error: ms-w32.h: No such file or directory compilation terminated. mingw32-make.exe[1]: *** [oo-spd/i386/make-docfile.o] Error 1 Id est=2C for some mysterious reason -I ../nt/inc again disappeared. The ba= tch file that makes this is the following (with some simplification): SET PATH=3DC:\Programme\GNU\installation\emacs-install\libXpm-3.5.7\src=3BC= :\msys\1.0\mingw\bin=3BC:\msys\1.0\gnuwin32\bin=3BC:\WINDOWS\system32=3BC:\= WINDOWS CALL configure.bat --prefix=3DC:\Programme\GNU\Emacs --without-jpeg --witho= ut-tiff --without-gif --without-png --distfiles C:\Programme\GNU\installat= ion\emacs-install\libXpm-3.5.7\src --cflags -I --cflags "C:/Programme/GNU/i= nstallation/emacs-install/libXpm-3.5.7/include" --cflags -I --cflags "C:/Pr= ogramme/GNU/installation/emacs-install/libXpm-3.5.7/src" mingw32-make.exe bootstrap MAKE=3Dmingw32-make.exe Based on your feedback that making EMACS an MSYS application would be ok on= ly if one would not mind a second emacs just to byte compile a few file=2C = and that GNUWin32's rm & cp are preferable to MSYS's ones=2C I am now reali= zing that I was in complete misconception about what MSYS is. I thought tha= t MSYS applications could behave like native Win32 applications when launch= ed outside MSYS. But=2C best is to quote what MSYS's itself says c.f. http:= //www.mingw.org/wiki/MSYS=20 Building for MSYS To build an application for MSYS (as opposed to using MSYS)=2C users will n= eed to install the MSYS Toolchain. It contains headers and libraries for MS= YS along with a patched version of GCC and Binutils. See HOWTO Create an MS= YS Build Environment. It should never be treated as a targeted platform. It is meant only as a me= ans to update the MSYS components or the MSYS runtime DLL itself. Resulting= programs will only run under MSYS.=20 Actually my misconception stems from this I used MSYS applications quite of= ten outside MSYS and everything worked quite well... Anyway=2C thank you very much for your patience. I am now starting to wonder whether all my troubles aren't coming from this= that I may have mistakenly some components of my supposedly MingW32 toolch= ain patched to build for MSYS=2C rather than to use MSYS. How can one detec= t that?... VBR=2C Vincent. PS: for completeness=2C I attached a tarzip with the complete compile.log a= nd the batch script = --_46368b14-cc51-4f20-8770-063a8f976626_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C

>=3B Date: Sun=2C 7 Oct 2012 16:18:24 +0200
>= =3B From: eliz@gnu.org
>=3B Subject: Re: [cedet-semantic] Latest CEDET= on BZR does not compile with emacs 24.1
>=3B To: vincent.b.1@hotmail.= fr
>=3B CC: deng@randomsample.de=3B cedet-semantic@lists.sourceforge.n= et=3B emacs-devel@gnu.org
>=3B
>=3B >=3B From: Vincent Bela=EF= che <=3Bvincent.b.1@hotmail.fr>=3B
>=3B >=3B CC: "cedet-semantic= @lists.sourceforge.net"
>=3B >=3B <=3Bcedet-semantic@lists.source= forge.net>=3B=2C "deng@randomsample.de"
>=3B >=3B <=3Bdeng@rand= omsample.de>=3B=2C emacs-devel <=3Bemacs-devel@gnu.org>=3B
>=3B = >=3B Date: Sun=2C 7 Oct 2012 13:49:19 +0200
>=3B >=3B
>=3B &= gt=3B Here is what I get with
>=3B >=3B
>=3B >=3B mingw32-m= ake.exe bootstrap MAKE=3Dmingw32-make.exe
>=3B >=3B
>=3B >= =3B =2C in a cmd.exe console=2C but with still MSYS in my path (for rm and = such likes):
>=3B
>=3B Keeping MSYS on PATH is a mistake=2C see = below.
>=3B
>=3B >=3B mkdir "oo-spd"
>=3B >=3B mkdir "o= o-spd/i386"
>=3B >=3B echo oo-spd/i386 >=3B stamp_BLD
>=3B &g= t=3B gcc -I ../src -I. -c -gdwarf-2 -g3 -mtune=3Dpentium4 -O2 -I c:/Pro= gramme/GNU/installation/emacs-install/libXpm-3.5.7/include -I c:/Programme/= GNU/installation/emacs-install/libXpm-3.5.7/src -o oo-spd/i386/make-docfil= e.o make-docfile.c
>=3B >=3B In file included from ../src/config.h:1= 673:0=2C
>=3B >=3B from make-docfile.c:37:
>= =3B >=3B ../src/conf_post.h:32:27: fatal error: ms-w32.h: No such file or= directory
>=3B >=3B
>=3B >=3B
>=3B >=3B
>=3B = >=3B For some reason -I ../nt/inc is dropped=2C well I could just add --c= flags -I --cflags ../nt/inc the call of configure.bat.
>=3B
&g= t=3B It's MSYS again=2C no doubt. Remove MSYS from PATH=2C and use non-MSY= S rm
>=3B and cp.
>=3B
>=3B

I= just did that=2C I installed gnuwin32 into c:/msys/1.0/gnuwin32 (well it m= ay seem a stange location=2C but I have mingw32 also under msys/1.0=2C so w= hy not)=2C and I am still getting this:

rm stamp_B= LD
mingw32-make.exe[1]: Leaving directory `C:/Programme/GNU/installation= /emacs-install/emacs/trunk/lib-src'
mingw32-make.exe -C ../lib-src mak= e-docfile
mingw32-make.exe[1]: Entering directory `C:/Programme/GNU/inst= allation/emacs-install/emacs/trunk/lib-src'
mkdir "oo-spd"
mkdir "oo-= spd/i386"
echo oo-spd/i386 >=3B stamp_BLD
gcc -I ../src -I. -c -gdw= arf-2 -g3 -mtune=3Dpentium4 -O2 -I C:/Programme/GNU/installation/emacs-= install/libXpm-3.5.7/include -I C:/Programme/GNU/installation/emacs-install= /libXpm-3.5.7/src -o oo-spd/i386/make-docfile.o make-docfile.c
In file = included from ../src/config.h:1673:0=2C
from make-docfi= le.c:37:
../src/conf_post.h:32:27: fatal error: ms-w32.h: No such file o= r directory
compilation terminated.
mingw32-make.exe[1]: *** [oo-spd/= i386/make-docfile.o] Error 1

Id est=2C for som= e mysterious reason -I ../nt/inc again disappeared. =3B
The b= atch file that makes this is the following (with some simplification):

SET PATH=3DC:\Programme\GNU\installation\emacs-install= \libXpm-3.5.7\src=3BC:\msys\1.0\mingw\bin=3BC:\msys\1.0\gnuwin32\bin=3BC:\W= INDOWS\system32=3BC:\WINDOWS
CALL configure.bat --prefix=3DC:\Programme\= GNU\Emacs --without-jpeg --without-tiff --without-gif --without-png --dist= files C:\Programme\GNU\installation\emacs-install\libXpm-3.5.7\src --cflags= -I --cflags "C:/Programme/GNU/installation/emacs-install/libXpm-3.5.7/incl= ude" --cflags -I --cflags "C:/Programme/GNU/installation/emacs-install/libX= pm-3.5.7/src"
mingw32-make.exe bootstrap MAKE=3Dmingw32-make.exe


Based on your feedback that making EMA= CS an MSYS application would be ok only if one would not mind a second emac= s just to byte compile a few file=2C and that GNUWin32's rm &=3B cp are = preferable to MSYS's ones=2C I am now realizing that I was in complete misc= onception about what MSYS is. I thought that MSYS applications could behave= like native Win32 applications when launched outside MSYS. But=2C best is = to quote what MSYS's itself says c.f. http://www.mingw.org/wiki/MSYS

Building for MSYS

To build an application for M= SYS (as opposed to using MSYS)=2C users will need to install the MSYS Toolc= hain. It contains headers and libraries for MSYS along with a patched versi= on of GCC and Binutils. See HOWTO Create an MSYS Build Environment.

= It should never be treated as a targeted platform. = It is meant only as a means to update the MSYS components or the MSY= S runtime DLL itself. Resulting programs will only run under MSYS. =3B<= /blockquote>

Actually my misconception stems from = this I used MSYS applications quite often outside MSYS and everything worke= d quite well...

Anyway=2C thank you very much for = your patience.

I am now starting to wonder whether= all my troubles aren't coming from this that I may have mistakenly some co= mponents of my supposedly MingW32 toolchain patched to build for MSYS=2C ra= ther than to use MSYS. How can one detect that?...

VBR=2C
 =3B  =3B Vincent.

PS: f= or completeness=2C I attached a tarzip with the complete compile.log and th= e batch script

= --_46368b14-cc51-4f20-8770-063a8f976626_-- --_34dda03e-ce47-4aab-b10e-4b104155c621_ Content-Type: application/x-gzip Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="compile.tgz" H4sIAIOhcVAAA+1ab2/bvBHvawP+DjcDRv6skmzZSZ55SPekTtpmS+KiSdcC1YM8skTLbCRRJSWn 6Yt9yb3rq70b+iWGHSnZlv+ldWxnHaAD4khH8se74/F4pOiwIKI+0X3mPdkU1ZD2m031/2Bf/a/X mjX1XquZ9X1z/0ndrDWaDbO2V8PyenNvr/EEahuTKEeJiG0O8OTvNHRIGC+sd+QGNKQi5nZMEi4e Q7THoHKpXGq3rNecedwOAmK9vHhr0RCN4vt2TFlokcB2hJaxng1SM3WHDL1rx+XSfO5yyJcnV/D8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