This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Can't build GDB 4.18 under Cygnus 2.0.1


For future reference, the problem was with my environment.  I have WRS Tornado
installed in my PC as well. Tornado uses B19 of CygWin and it just so happen that the
sed program it was picking up was from that version rather than my cygwin b20.  A
little rearrangement of the path solved the problem which I'm convinced was only with
the sed program and not the bash shell like I initially suspected.

R.

Roger Cruz wrote:

> 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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]