This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Configuring GCC build: doc patch


On Mon, 19 Jul 2004, Andreas Schwab wrote:

"Gabriel Dos Reis" <gdr@acm.org> writes:

Hugh Sasse Staff Elec Eng:
May I suggest something like the following patch for
http://gcc.gnu.org/install/configure.html
because after an apparently successful build I could not
`make install`?
         Hugh

--- configure.html.orig	2004-07-13 13:03:22.694719000 +0100
+++ configure.html	2004-07-13 13:13:18.442877000 +0100
@@ -140,6 +140,11 @@
          % cd <var>objdir</var>
          % <var>srcdir</var>/configure [<var>options</var>]
[<var>target</var>]
  </pre>
+   <p>Do not use a relative path for <span
class="command"><var>srcdir</var>/configure</span>,
+use an absolute path instead, because this is used to derive paths
+for various things in the resulting makefiles. In subdirectories
+relative paths will be incorrect, but absolute paths will still
+work.

Hmm, that this curious. I use relative path on dauly basis.

Same here.


Hmm, would be a shell issue?

My guess would be /usr/bin/install vs. ${srcdir}/install-sh.

Yes, that was the problem. The $(srcdir) was a correct relative path from the top directory, but in the subdirectories's make files it was the same, and thus did not reach the install-sh

Andreas.




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