This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Fixup more relative directories when building --enable-debug


On Tue, Jan 07, 2003 at 03:27:08PM -0600, Benjamin Kosnik wrote:
> 
> >I'm finally getting a chance to try out the new --enable-debug, and I
> >ran into a snag when compiling off the cvs trunk.  Some of the errors
> >are shown below.
> 
> Huh. How are you configuring? Are you using separate build and src
> directories? (Just curious)

Yes, completely as usual.  It struck me as odd that it didn't work.
My path to configure starts with "../", though.  Perhaps that's it?

../../cvs-gcc/gcc/configure  --with-dwarf2 --enable-languages=c,c++
--enable-threads=single --disable-shared
--prefix=/build/eng-linux1/spencer/test-gcc --with-gnu-as
--with-gnu-ld --with-as=/build/eng-linux1/spencer/test-gcc/bin/as
--with-ld=/build/eng-linux1/spencer/test-gcc/bin/ld --disable-multilib
--enable-concept-checks --enable-clocale=gnu --enable-debug

> > And by the way, is there a reason this isn't just done with a pipe? 
> 
> No. I didn't know how else to do it, and the other ways I could think of
> ended up not working. As it stands, the additional debug rule is pretty
> small, so if you can think of a better way to do this feel free.

Ok.  Here's a new patch with the stream piped through a few "sed"s (I'm
no sed expert).  They should be equivalent except for the temporary
files, and it certainly appears to test okay for me.

-- 
------------------------------------------------------------------
Brad Spencer - spencer@infointeractive.com - "It's quite nice..."
Systems Architect | InfoInterActive Corp. | A Canadian AOL Company

Attachment: foo
Description: Text document


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