This is the mail archive of the gcc-patches@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]

make stage* won't move <multilib>/crt*.o files into stage dir


The fact that we don't move multilib crt*.o files into the stage dirs
isn't much of a problem, since the crt*.o files of the `.'  multilib
are taken care of by the primary Makefile, but on a port such a
mips64-linux, whose default multilib is not `.', we need the crt*.o
object files of the default multilib to be copied, otherwise the
staged executables won't be able to link anything.  I'm checking this
in, to get object files of all multilibs copied to the corresponding
directories in the stage dir.

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva at redhat dot com>

	* mklibgcc.in (libgcc-stage-start): Move into the stage directory
	object files from the non-libgcc/ multilib directories as well.

Index: gcc/mklibgcc.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/mklibgcc.in,v
retrieving revision 1.56
diff -u -p -r1.56 mklibgcc.in
--- gcc/mklibgcc.in 7 Apr 2003 05:34:50 -0000 1.56
+++ gcc/mklibgcc.in 12 Apr 2003 06:16:33 -0000
@@ -420,7 +420,7 @@ dirs=libgcc
 for ml in $MULTILIBS; do
   dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
   if [ $dir != . ]; then
-    dirs="$dirs libgcc/${dir}"
+    dirs="$dirs ${dir} libgcc/${dir}"
   fi
 done
 echo ''
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist                Professional serial bug killer

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