public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] fix for a problem with cxxfilt.man
@ 2001-07-11  5:14 Bang Jun-Young
  2001-07-11  9:18 ` H . J . Lu
  0 siblings, 1 reply; 7+ messages in thread
From: Bang Jun-Young @ 2001-07-11  5:14 UTC (permalink / raw)
  To: binutils

Hi,

binutils-cvs has a problem that causes an error when compiling
it under a directory other than $(top_srcdir). This patch fixes it.

Jun-Young

-- 
Bang Jun-Young <bjy@mogua.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] fix for a problem with cxxfilt.man
  2001-07-11  5:14 [PATCH] fix for a problem with cxxfilt.man Bang Jun-Young
@ 2001-07-11  9:18 ` H . J . Lu
  2001-07-11 22:22   ` Bang Jun-Young
  0 siblings, 1 reply; 7+ messages in thread
From: H . J . Lu @ 2001-07-11  9:18 UTC (permalink / raw)
  To: Bang Jun-Young; +Cc: binutils

On Wed, Jul 11, 2001 at 09:14:15PM +0900, Bang Jun-Young wrote:
> Hi,
> 
> binutils-cvs has a problem that causes an error when compiling
> it under a directory other than $(top_srcdir). This patch fixes it.
> 
> Jun-Young
> 
> -- 
> Bang Jun-Young <bjy@mogua.org>
> 

> --- binutils/doc/Makefile.am.orig	Wed Jul  4 01:35:34 2001
> +++ binutils/doc/Makefile.am	Mon Jul  9 18:09:41 2001
> @@ -146,7 +146,7 @@
>  
>  $(DEMANGLER_NAME).1: cxxfilt.man Makefile
>  	sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
> -	    -e 's/cxxfilt/$(DEMANGLER_NAME)/' < cxxfilt.man \
> +	    -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
>  		> $(DEMANGLER_NAME).1
>  
>  # Maintenance

It can't be right. Please remove cxxfilt.man from your source tree
and rebuild.


H.J.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] fix for a problem with cxxfilt.man
  2001-07-11  9:18 ` H . J . Lu
@ 2001-07-11 22:22   ` Bang Jun-Young
  2001-07-11 23:32     ` H . J . Lu
  0 siblings, 1 reply; 7+ messages in thread
From: Bang Jun-Young @ 2001-07-11 22:22 UTC (permalink / raw)
  To: H . J . Lu; +Cc: binutils

On Wed, Jul 11, 2001 at 09:18:20AM -0700, H . J . Lu wrote:
> It can't be right. Please remove cxxfilt.man from your source tree
> and rebuild.

No, it didn't help.

$ tar xyf binutils-010708
$ cd binutils-010708
$ mkdir CROSS NATIVE
$ cd CROSS
$ ../configure --target=... --build=... --host=...
$ make
...(snip)...
gmake[1]: Entering directory `/home/bjy/binutils-010708/CROSS/binutils'
gmake  all-recursive
gmake[2]: Entering directory `/home/bjy/binutils-010708/CROSS/binutils'
Making all in doc
gmake[3]: Entering directory `/home/bjy/binutils-010708/CROSS/binutils/doc'
sed -e 's/@PROGRAM@/c++filt/' \
    -e 's/cxxfilt/c++filt/' < cxxfilt.man \
	> c++filt.1
cannot open cxxfilt.man: no such file

I removed cxxfilt.man and did the build again:

$ ../configure --target=...
$ make
...(snip)...
gmake[1]: Entering directory `/home/bjy/binutils-010708/CROSS/binutils'
gmake  all-recursive
gmake[2]: Entering directory `/home/bjy/binutils-010708/CROSS/binutils'
Making all in doc
gmake[3]: Entering directory `/home/bjy/binutils-010708/CROSS/binutils/doc'
touch cxxfilt.man
perl ../../../binutils/../etc/texi2pod.pl -Dman -Dcxxfilt < ../../../binutils/doc/binutils.texi > c++filt.pod
Can't open perl script "../../../binutils/../etc/texi2pod.pl": No such file or directory
gmake[3]: [cxxfilt.man] Error 2 (ignored)

Where can I find texi2pod.pl? Obviously there's no such file in the
distribution.

Jun-Young

-- 
Bang Jun-Young <bjy@mogua.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] fix for a problem with cxxfilt.man
  2001-07-11 22:22   ` Bang Jun-Young
@ 2001-07-11 23:32     ` H . J . Lu
  2001-07-11 23:44       ` Bang Jun-Young
  0 siblings, 1 reply; 7+ messages in thread
From: H . J . Lu @ 2001-07-11 23:32 UTC (permalink / raw)
  To: Bang Jun-Young; +Cc: binutils

On Thu, Jul 12, 2001 at 02:22:29PM +0900, Bang Jun-Young wrote:
> 
> Where can I find texi2pod.pl? Obviously there's no such file in the
> distribution.
> 

What distribution? It is in my Linux binutils.


H.J.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] fix for a problem with cxxfilt.man
  2001-07-11 23:32     ` H . J . Lu
@ 2001-07-11 23:44       ` Bang Jun-Young
  2001-07-12  0:03         ` H . J . Lu
  0 siblings, 1 reply; 7+ messages in thread
From: Bang Jun-Young @ 2001-07-11 23:44 UTC (permalink / raw)
  To: H . J . Lu; +Cc: binutils

On Wed, Jul 11, 2001 at 11:32:39PM -0700, H . J . Lu wrote:
> On Thu, Jul 12, 2001 at 02:22:29PM +0900, Bang Jun-Young wrote:
> > 
> > Where can I find texi2pod.pl? Obviously there's no such file in the
> > distribution.
> > 
> 
> What distribution? It is in my Linux binutils.

Maybe it's a problem with `make dist'. I couldn't find it
in binutils-010708.tar.bz2 avaiable at sources.redhat.com.
I haven't checked the cvs repository yet.

Jun-Young

-- 
Bang Jun-Young <bjy@mogua.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] fix for a problem with cxxfilt.man
  2001-07-11 23:44       ` Bang Jun-Young
@ 2001-07-12  0:03         ` H . J . Lu
  2001-07-12  0:07           ` Bang Jun-Young
  0 siblings, 1 reply; 7+ messages in thread
From: H . J . Lu @ 2001-07-12  0:03 UTC (permalink / raw)
  To: Bang Jun-Young; +Cc: binutils

On Thu, Jul 12, 2001 at 03:43:36PM +0900, Bang Jun-Young wrote:
> On Wed, Jul 11, 2001 at 11:32:39PM -0700, H . J . Lu wrote:
> > On Thu, Jul 12, 2001 at 02:22:29PM +0900, Bang Jun-Young wrote:
> > > 
> > > Where can I find texi2pod.pl? Obviously there's no such file in the
> > > distribution.
> > > 
> > 
> > What distribution? It is in my Linux binutils.
> 
> Maybe it's a problem with `make dist'. I couldn't find it
> in binutils-010708.tar.bz2 avaiable at sources.redhat.com.
> I haven't checked the cvs repository yet.

If you use Linux, I will recommend my Linux binutils.


H.J.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] fix for a problem with cxxfilt.man
  2001-07-12  0:03         ` H . J . Lu
@ 2001-07-12  0:07           ` Bang Jun-Young
  0 siblings, 0 replies; 7+ messages in thread
From: Bang Jun-Young @ 2001-07-12  0:07 UTC (permalink / raw)
  To: H . J . Lu; +Cc: binutils

On Thu, Jul 12, 2001 at 12:02:56AM -0700, H . J . Lu wrote:
> If you use Linux, I will recommend my Linux binutils.

I use NetBSD.

Jun-Young

-- 
Bang Jun-Young <bjy@mogua.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-07-12  0:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-11  5:14 [PATCH] fix for a problem with cxxfilt.man Bang Jun-Young
2001-07-11  9:18 ` H . J . Lu
2001-07-11 22:22   ` Bang Jun-Young
2001-07-11 23:32     ` H . J . Lu
2001-07-11 23:44       ` Bang Jun-Young
2001-07-12  0:03         ` H . J . Lu
2001-07-12  0:07           ` Bang Jun-Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).