OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 1992 21:23:54 +0000 (21:23 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 1992 21:23:54 +0000 (21:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1187 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/gcc.c

index 9cf213e..33245fe 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2057,10 +2057,10 @@ process_command (argc, argv)
       temp = (char *) xmalloc (strlen (gcc_exec_prefix) + strlen (spec_version)
                               + strlen (spec_machine) + 3);
       strcpy (temp, gcc_exec_prefix);
-      strcat (temp, spec_version);
-      strcat (temp, "/");
       strcat (temp, spec_machine);
       strcat (temp, "/");
+      strcat (temp, spec_version);
+      strcat (temp, "/");
       gcc_exec_prefix = temp;
     }
 }