RSS

(root)/mspgcc/mspgcc-core : 405 : gcc-3.3.6.patch

« back to all changes in this revision

Viewing changes to gcc-3.3.6.patch

cliechti at sourceforge
2009-10-06 23:33:11
Revision ID: cliechti@users.sourceforge.net-20091006233311-52fd4wxou0yzsfze
Add additional patches from mspgcc4, write a message when applying it.

Show diffs side-by-side

added added

removed removed

 
1
diff -urN gcc-3.3.6/configure.in gcc-3.3.6-new/configure.in
 
2
--- gcc-3.3.6/configure.in      2004-01-02 17:09:48.000000000 +0300
 
3
+++ gcc-3.3.6-new/configure.in  2009-02-10 18:08:43.000000000 +0300
 
4
@@ -638,6 +638,9 @@
 
5
   *-*-lynxos*)
 
6
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
 
7
     ;; 
 
8
+  msp430-*-*)
 
9
+    noconfigdirs="$noconfigdirs ${libstdcxx_version}"
 
10
+    ;;
 
11
   *-*-*)
 
12
     noconfigdirs="$noconfigdirs ${libgcj}"
 
13
     ;;
 
14
diff -urN gcc-3.3.6/gcc/collect2.c gcc-3.3.6-new/gcc/collect2.c
 
15
--- gcc-3.3.6/gcc/collect2.c    2003-12-08 22:02:39.000000000 +0300
 
16
+++ gcc-3.3.6-new/gcc/collect2.c        2009-02-10 18:09:09.000000000 +0300
 
17
@@ -1572,7 +1572,7 @@
 
18
   if (redir)
 
19
     {
 
20
       /* Open response file.  */
 
21
-      redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
 
22
+      redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0755);
 
23
 
 
24
       /* Duplicate the stdout and stderr file handles
 
25
         so they can be restored later.  */

Loggerhead 1.17 is a web-based interface for Bazaar branches