[csw-devel] SF.net SVN: gar:[15432] csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Aug 25 00:35:03 CEST 2011


Revision: 15432
          http://gar.svn.sourceforge.net/gar/?rev=15432&view=rev
Author:   wahwah
Date:     2011-08-24 22:35:02 +0000 (Wed, 24 Aug 2011)
Log Message:
-----------
pkg/gcc4/branches/bootstrap-4.6: trying out a different prefix / bindir setting

Modified Paths:
--------------
    csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile

Modified: csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile
===================================================================
--- csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile	2011-08-24 16:34:56 UTC (rev 15431)
+++ csw/mgar/pkg/gcc4/branches/bootstrap-4.6/Makefile	2011-08-24 22:35:02 UTC (rev 15432)
@@ -33,21 +33,27 @@
 ## Copyright File
 LICENSE = COPYING3
 
-prefix = $(BUILD_PREFIX)/gcc4
-libdir_install = $(BUILD_PREFIX)/lib
-libdir = $(abspath $(BUILD_PREFIX)/lib/$(MM_LIBDIR))
+# prefix = $(BUILD_PREFIX)/gcc4
+# libdir_install = $(BUILD_PREFIX)/lib
+# libdir = $(abspath $(BUILD_PREFIX)/lib/$(MM_LIBDIR))
+# CONFIGURE_ARGS += --prefix=$(prefix)
+# CONFIGURE_ARGS += --libdir=$(libdir)
+# CONFIGURE_ARGS += --exec-prefix=$(BUILD_PREFIX)/gcc4
 
+# Trying to fix the include problem.
+# http://gcc.gnu.org/ml/gcc-help/2011-08/msg00247.html
+CONFIGURE_ARGS += --bindir=$(prefix)/gcc4/bin
+CONFIGURE_ARGS += --libexecdir=$(prefix)/gcc4/libexec
+CONFIGURE_ARGS += --exec-prefix=$(prefix)/gcc4
+
 ## build options
 # http://gcc.gnu.org/install/configure.html
 
 # Could be used to break out of the /opt/csw/gcc4 prefix
 # CONFIGURE_ARGS += --program-prefix=gcc4-
 
-CONFIGURE_ARGS += --prefix=$(prefix)
-CONFIGURE_ARGS += --libdir=$(libdir)
 # The theory is that DIRPATHS confuse the installer, e.g. includedir
 # CONFIGURE_ARGS += --includedir=$(prefix)/include
-CONFIGURE_ARGS += --exec-prefix=$(BUILD_PREFIX)/gcc4
 CONFIGURE_ARGS += --with-gnu-as
 CONFIGURE_ARGS += --with-as=/opt/csw/bin/gas
 CONFIGURE_ARGS += --without-gnu-ld

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list