Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Binutils-2.10
@ 2000-07-31 14:45 Dan Aizenstros
  2000-07-31 16:31 ` Binutils-2.10 Maciej W. Rozycki
  2000-07-31 16:34 ` Binutils-2.10 Ulf Carlsson
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Aizenstros @ 2000-07-31 14:45 UTC (permalink / raw)
  To: linux-mips

Hello,

I have tried to compile binutils-2.10 with the patches from
http://www.ds2.pg.gda.pl/~macro/ but it fails because
BFD_RELOC_MIPS_HIGHER and BFD_RELOC_MIPS_HIGHEST are not
defined.  I believe that they should be defined in bfd-in2.h
but they are not there.  At the top of the file it says that
it is a generated file so how do I generate it?  I am also
wondering if changes to this file are missing from the patch
file.

Dan Aizenstros
Software Engineer
V3 Semiconductor Corp.

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

* Re: Binutils-2.10
  2000-07-31 14:45 Binutils-2.10 Dan Aizenstros
@ 2000-07-31 16:31 ` Maciej W. Rozycki
  2000-07-31 22:24   ` Binutils-2.10 Dan Aizenstros
  2000-07-31 16:34 ` Binutils-2.10 Ulf Carlsson
  1 sibling, 1 reply; 5+ messages in thread
From: Maciej W. Rozycki @ 2000-07-31 16:31 UTC (permalink / raw)
  To: Dan Aizenstros; +Cc: linux-mips

On Mon, 31 Jul 2000, Dan Aizenstros wrote:

> it is a generated file so how do I generate it?  I am also

 make -C bfd headers

> wondering if changes to this file are missing from the patch
> file.

 It's intentional.  Why would generated files be included in a patch?  It
only makes life more difficult when applying to modified sources.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

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

* Re: Binutils-2.10
  2000-07-31 14:45 Binutils-2.10 Dan Aizenstros
  2000-07-31 16:31 ` Binutils-2.10 Maciej W. Rozycki
@ 2000-07-31 16:34 ` Ulf Carlsson
  1 sibling, 0 replies; 5+ messages in thread
From: Ulf Carlsson @ 2000-07-31 16:34 UTC (permalink / raw)
  To: Dan Aizenstros; +Cc: linux-mips

Hi Dan,

binutils-2.10 is known to work [or at least compile], but the patches
you use are broken in some way.  You could try to generate new files
as you suggested.  To generate new files you have to give the
--enable-maintainer-mode option to configure, and you need special
versions of some build tools.  The files will be generated when you
run make.

Here is the README-maintainer-mode that pretty much explains it:

                Notes on enabling maintainer mode

Note that if you configure with --enable-maintainer-mode, you will
need special versions of automake, autoconf, libtool and gettext. You
will find the sources for these in ftp://sourceware.cygnus.com/pub/binutils.

Ulf

> Hello,
> 
> I have tried to compile binutils-2.10 with the patches from
> http://www.ds2.pg.gda.pl/~macro/ but it fails because
> BFD_RELOC_MIPS_HIGHER and BFD_RELOC_MIPS_HIGHEST are not
> defined.  I believe that they should be defined in bfd-in2.h
> but they are not there.  At the top of the file it says that
> it is a generated file so how do I generate it?  I am also
> wondering if changes to this file are missing from the patch
> file.
> 
> Dan Aizenstros
> Software Engineer
> V3 Semiconductor Corp.

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

* Re: Binutils-2.10
  2000-07-31 16:31 ` Binutils-2.10 Maciej W. Rozycki
@ 2000-07-31 22:24   ` Dan Aizenstros
  2000-08-01  8:42     ` Binutils-2.10 Maciej W. Rozycki
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Aizenstros @ 2000-07-31 22:24 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: linux-mips

Thanks for the help.  I was able to build binutils-2.10 after
generating the headers as you described.

The reason I expect the patch to change generated files is
because the normal make does not generate them and the files
are included in the binutils-2.10.tar.bz2 file.  They are also
in CVS.  Why are generated files in CVS or the binary distribution
if you have to generate them?

I thought all I would have to do is a ./configure; make; make install
after I applied the patches.  Maybe you could add the need to generate
files on your binutils-2.10 web page.

Dan Aizenstros
Software Engineer
V3 Semiconductor Corp.

"Maciej W. Rozycki" wrote:
> 
> On Mon, 31 Jul 2000, Dan Aizenstros wrote:
> 
> > it is a generated file so how do I generate it?  I am also
> 
>  make -C bfd headers
> 
> > wondering if changes to this file are missing from the patch
> > file.
> 
>  It's intentional.  Why would generated files be included in a patch?  It
> only makes life more difficult when applying to modified sources.
> 
> --
> +  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
> +--------------------------------------------------------------+
> +        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

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

* Re: Binutils-2.10
  2000-07-31 22:24   ` Binutils-2.10 Dan Aizenstros
@ 2000-08-01  8:42     ` Maciej W. Rozycki
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej W. Rozycki @ 2000-08-01  8:42 UTC (permalink / raw)
  To: Dan Aizenstros; +Cc: linux-mips

On Mon, 31 Jul 2000, Dan Aizenstros wrote:

> Thanks for the help.  I was able to build binutils-2.10 after
> generating the headers as you described.

 Good.

> The reason I expect the patch to change generated files is
> because the normal make does not generate them and the files
> are included in the binutils-2.10.tar.bz2 file.  They are also
> in CVS.  Why are generated files in CVS or the binary distribution
> if you have to generate them?

 To save people the trouble many generated files are included by default. 
There is no need to regenerate them if respective sources remain unchanged
and they may need special tools.  They include Makefile.in, config.h.in,
aclocal.m4, Makefile, configure files, as well as .info files and sources
built by lex and yacc.

> I thought all I would have to do is a ./configure; make; make install

 All built sources are usually regenerated if needed during build (that's
true for most automake-generated Makefiles; for others, the maintainer has
to take care to place appropriate rules inti Makefiles himself).  You
might need to enable the maintainer mode for certain programs, though, as
someone already pointed out.

> after I applied the patches.  Maybe you could add the need to generate
> files on your binutils-2.10 web page.

 I am planning to release RPM packages -- all necessary bits are in spec
files.  I might add a separate note, though.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

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

end of thread, other threads:[~2000-08-01  8:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-31 14:45 Binutils-2.10 Dan Aizenstros
2000-07-31 16:31 ` Binutils-2.10 Maciej W. Rozycki
2000-07-31 22:24   ` Binutils-2.10 Dan Aizenstros
2000-08-01  8:42     ` Binutils-2.10 Maciej W. Rozycki
2000-07-31 16:34 ` Binutils-2.10 Ulf Carlsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox