This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: (toplevel patch) Use canonical names for target_subdir, build_subdir.


On Sun, Jan 26, 2003 at 10:44:56AM -0200, Alexandre Oliva wrote:
> On Jan 26, 2003, Phil Edwards <phil@jaj.com> wrote:
> 
> > On Fri, Jan 24, 2003 at 02:50:21PM -0200, Alexandre Oliva wrote:
> >> On Jan 24, 2003, Nathanael Nerode <neroden@twcny.rr.com> wrote:
> >> 
> >> > Use the canonical build and target names for build_subdir and target_subdir.
> >> 
> >> Not ok.  athlon-linux-gnu is canonicalized to i686-linux-gnu, so we
> >> can't use the same directories for both of them.  (Consider building a
> >> compiler on athlon that must run on i686, or on the other way round).
> 
> > So, is this going to be reverted or not?  It's destroying the testsuite
> > results.
> 
> Please go ahead and revert it.  It must have gone in by mistake, since
> it was explicitly rejected.

Done as below.  Looking over the cvs log, I think Nathanael might have been
committed this by accident as part of reverting his rda stuff.  That would
explain why it was committed at the top level and not in the gcc directory.


2003-01-27  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Revert 24Jan change.
	* configure:  Regenerate.


Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.217
diff -u -3 -p -r1.217 configure.in
--- configure.in	24 Jan 2003 00:39:39 -0000	1.217
+++ configure.in	27 Jan 2003 14:53:33 -0000
@@ -201,7 +201,7 @@ fi	
 
 # We always want to use the same name for this directory, so that dejagnu
 # can reliably find it.
-target_subdir=${target}
+target_subdir=${target_alias}
 
 if test ! -d ${target_subdir} ; then
   if mkdir ${target_subdir} ; then true
@@ -211,7 +211,8 @@ if test ! -d ${target_subdir} ; then
   fi
 fi
 
-build_subdir=build-${build}
+build_prefix=build-
+build_subdir=${build_prefix}${build_alias}
 
 if test x"${build_alias}" != x"${host}" ; then
   if test ! -d ${build_subdir} ; then


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