Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <378E8479.8154C6E5@ignitus.com> Date: Thu, 15 Jul 1999 21:01:46 -0400 From: Roger Cruz X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: gdb AT sourceware DOT cygnus DOT com, cygwin AT sourceware DOT cygnus DOT com Subject: Re: Can't build GDB 4.18 under Cygnus 2.0.1 References: <378DF57E DOT 3D26CA78 AT ignitus DOT com> <378E4F06 DOT 2942CB1C AT ignitus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I think I have narrowed down the problem of building GDB 4.18 with CygWin 20.1. It appears to be that the maximum command line has been exceeded. The line as shown below has 615 characters. If I start removing directory names, it works fine when the number is brought down to 412. Is there any way that I can get around this problem? Does CygWin allow you to control the maximum line length? Any ideas are welcome. I'm anxious to get this building on a PC so I can work from home! Thanks. Roger Roger Cruz wrote: > Here's a little more info about the failing command. BTW, I have no problems > building from the same code in Solaris so it must be a CygWin issue? > > + echo gcc_version = > + [ -z ] > + rm -f ./Makefile.tm2 > + sed -e s:^SUBDIRS[ ]*=.*$:SUBDIRS = intl mmalloc libiberty opcodes > bfd readline gash db tcl tk tcl8.1 tk8.1 tclX itcl tix libgui byacc flex bison > binutils ld gas gcc sim gdb make patch prms gdbtest tgas etc expect dejagnu ash > bash bzip2 m4 libtool ispell grep diff cvssrc fileutils shellutils time > textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode > release sed utils gawk findutils snavigator libtool gettext zip libtermcap > dosrel : -e s:^NONSUBDIRS[ ]*=.*$:NONSUBDIRS = autoconf automake > send-pr gprof rcs guile perl texinfo apache inet target-libgloss: > ./Makefile.tem > sed: Unterminated `s' command > > This comes from line 1364 in ./configure > > echo gcc_version = ${gcc_version} >> ${Makefile} > > # reset prefix, exec_prefix, srcdir, SUBDIRS, NONSUBDIRS, > # remove any form feeds. > if [ -z "${subdirs}" ]; then > rm -f ${subdir}/Makefile.tm2 > sed -e "s:^SUBDIRS[ ]*=.*$:SUBDIRS = ${configdirs}:" \ > -e "s:^NONSUBDIRS[ ]*=.*$:NONSUBDIRS = ${noconfigdirs}:" \ > > ${subdir}/Makefile.tem > ${subdir}/Makefile.tm2 > rm -f ${subdir}/Makefile.tem > > > The only problem I > > saw during the configuration was a warning about an unterminated sed "s" > > command. I couldn't track which sed cmd this was. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com