public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Q: binutils build process
@ 1999-10-15 10:32 Andrew Morton
  1999-10-15 10:39 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 1999-10-15 10:32 UTC (permalink / raw)
  To: binutils

Could someone please take the time to explain a couple of things?

I wish to add a new application in ./binutils/.  So I altered
Makefile.am and ran automake (v1.4a).  However the resulting Makefile.in
is vastly different from the CVS version and, post-configure, doesn't
work.  I tried './configure --enable-maintainer-mode' and it again
fails, but differently.

Do I need a different automake?

Also, dependencies.  Am I correct in assuming the process is:

automake
configure
make dep dep-i dep-am



What's the magic here?

Thanks.

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

* Re: Q: binutils build process
  1999-10-15 10:32 Q: binutils build process Andrew Morton
@ 1999-10-15 10:39 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 1999-10-15 10:39 UTC (permalink / raw)
  To: morton; +Cc: binutils

   Date: Fri, 15 Oct 1999 16:09:19 +0000
   From: "Andrew Morton" <morton@nortelnetworks.com>

   Could someone please take the time to explain a couple of things?

   I wish to add a new application in ./binutils/.  So I altered
   Makefile.am and ran automake (v1.4a).  However the resulting Makefile.in
   is vastly different from the CVS version and, post-configure, doesn't
   work.  I tried './configure --enable-maintainer-mode' and it again
   fails, but differently.

   Do I need a different automake?

For horrible reasons the binutils currently use
autoconf/automake/libtool snapshots.  You can find them at
    ftp://sourceware.cygnus.com/pub/binutils
Perhaps this will change in the future as new releases of these tools
appear.

On the other hand, I'm not sure why automake 1.4a doesn't work at all.

   Also, dependencies.  Am I correct in assuming the process is:

   automake
   configure
   make dep dep-i dep-am

   What's the magic here?

I don't recommend running automake and configure by hand.  Instead,
configure with --enable-maintainer-mode and let the dependencies do
the right thing.  To do this, you must install automake, autoconf,
libtool, and gettext.  They must all be configured and installed with
the same --prefix.  You must put $(prefix)/bin on your PATH.

If you plan to run `make dep-am', that is the only target you need to
run.  You then need to update your Makefile.in file--if you configure
with --enable-maintainer-mode, this will happen automatically.  You
then need to update your Makefile--this will happen automatically when
you run make.

Ian

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

end of thread, other threads:[~1999-10-15 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-15 10:32 Q: binutils build process Andrew Morton
1999-10-15 10:39 ` Ian Lance Taylor

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).