From kde-windows Mon Nov 02 14:18:10 2009 From: Bernhard Reiter Date: Mon, 02 Nov 2009 14:18:10 +0000 To: kde-windows Subject: mingw on cmd.com: The input line is too long (was: Failed to build qt Message-Id: <200911021518.14204.bernhard () intevation ! de> X-MARC-Message: https://marc.info/?l=kde-windows&m=125717156605667 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0317664546==" --===============0317664546== Content-Type: multipart/signed; boundary="nextPart10656787.FSqoRPM4xo"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart10656787.FSqoRPM4xo Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Donnerstag, 19. Februar 2009 18:01:42 schrieb Christian Ehrlicher: > Ludwig Reiter schrieb: > > I tried "emerge qt" to build qt on a MS Windows Server 2003 R2. > > While building WebCore, it failed, because an "input line is too long" > > error. =A0 This g++-input line is about 8243 letters long, containing m= any > > "-I" Options with long absolute pathes. This seems to hit the line length limit of cmd.com of Window XP. (And for NT4 someone could use the newer cmd.com to get the (Kibi Byte limi= t)=20 See=20 http://groups.google.com/group/microsoft.public.win2000.cmdprompt.admin/bro= wse_thread/thread/6718b6787f3a9e7/f7925bedc7ea70e9 > I had this problem a long time ago with cmake + mingw. This discussion hint upon that cmake fixed that problem at some time for large commands line during linking: http://www.cmake.org/pipermail/cmake/2006-September/011284.html The problem we have is with a modern cmake and include paths. They grow a lot depending on the path where the source code resides. > The only idea I've is to shorten the kde tempdir path and/or ask tt for > help. There ought to be a different solution. One would be if the gcc people had actually added an option to read arguments from the command line, which they've discussed at some time. Reading the documentation one way to really fix it, might be to use a customer specs file, see http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Spec-Files.html#Spec-Files Would only be useful if Cmake directly included the technique I guess. Bernhard =2D-=20 Managing Director - Owner: www.intevation.net (Free Software Company) Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com. Intevation GmbH, Osnabr=FCck, DE; Amtsgericht Osnabr=FCck, HRB 18998 Gesch=E4ftsf=FChrer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner --nextPart10656787.FSqoRPM4xo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) iEYEABECAAYFAkru6iYACgkQh9ag3dpKERamZACgqMg08fhDOHOn+VOJ2Mc2AMdQ l8gAoL9nivEHc3XLAtLul7+QHxSKpNXY =DfsU -----END PGP SIGNATURE----- --nextPart10656787.FSqoRPM4xo-- --===============0317664546== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kde-windows mailing list Kde-windows@kde.org https://mail.kde.org/mailman/listinfo/kde-windows --===============0317664546==--