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

installation of unwind.h


this patch adds the GPL exception to the unwind.h header, and makes make
install install it.  It installs it into $(includedir) (i.e.
/usr/local/include) by default.  I think it doesn't belong into the
gcc-private include dir, as it's more an API description.  So includedir
seemed to be the best choice (the libffi headers are also installed
therein).  I'm not sure, if we should rename the installed version of that
file, but I guess unwind.h is specific enough.  Ohh, the license change
was authorized by rms.

booted, regtested and visually verified to install where I wanted, on
i686-linux (3.3 branch).  OK for 3.3 and HEAD?

        * unwind.h: Add GPL exception.
        * (install-headers): Install unwind.h.

RCS file: /cvs/gcc/gcc/gcc/,v
retrieving revision 1.958.2.4
diff -u -p -r1.958.2.4
---	26 Jan 2003 11:35:04 -0000	1.958.2.4
+++	20 Feb 2003 12:24:05 -0000
@@ -2977,7 +2977,9 @@ install-headers: $(INSTALL_HEADERS_DIR)
 	      ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(DESTDIR)$(libsubdir)/include/$$i; \
 	    fi; \
 	  done; \
-	fi
+	fi; \
+	rm -f $(DESTDIR)$(includedir)/unwind.h; \
+	cp -p $(srcdir)/unwind.h $(DESTDIR)$(includedir)/

 # Create or recreate the gcc private include file directory.
 install-include-dir: installdirs
Index: unwind.h
RCS file: /cvs/gcc/gcc/gcc/unwind.h,v
retrieving revision 1.7
diff -u -p -r1.7 unwind.h
--- unwind.h	27 Nov 2002 10:33:54 -0000	1.7
+++ unwind.h	20 Feb 2003 12:24:05 -0000
@@ -1,5 +1,5 @@
 /* Exception handling and frame unwind runtime interface routines.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2003 Free Software Foundation, Inc.

    This file is part of GCC.

@@ -17,6 +17,13 @@
    along with GCC; see the file COPYING.  If not, write to the Free
    Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
+/* As a special exception, if you include this header file into source
+   files compiled by GCC, this header file does not by itself cause
+   the resulting executable to be covered by the GNU General Public
+   License.  This exception does not however invalidate any other
+   reasons why the executable file might be covered by the GNU General
+   Public License.  */

 /* This is derived from the C++ ABI for IA-64.  Where we diverge
    for cross-architecture compatibility are noted with "@@@".  */

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