From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
Date: Fri, 28 Sep 2007 12:53:14 -0700 (PDT) [thread overview]
Message-ID: <20070928195314.9BD793007B@busybox.net> (raw)
Author: ulf
Date: 2007-09-28 12:53:13 -0700 (Fri, 28 Sep 2007)
New Revision: 20092
Log:
Add bells and whistles to allow gcc-4.1.2-AVR32 buildprocess to progress further, not home yet though
Modified:
trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2007-09-28 19:51:06 UTC (rev 20091)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2007-09-28 19:53:13 UTC (rev 20092)
@@ -176,7 +176,7 @@
$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
mkdir -p $(GCC_BUILD_DIR1)
(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
- CC="$(HOSTCC)" \
+ $(HOST_CONFIGURE_OPTS) \
$(GCC_DIR)/configure \
--prefix=$(STAGING_DIR)/usr \
--build=$(GNU_HOST_NAME) \
@@ -187,6 +187,7 @@
--disable-__cxa_atexit \
--enable-target-optspace \
--with-gnu-ld \
+ --with-as=$(TARGET_CROSS)as \
--disable-shared \
$(GCC_WITH_HOST_GMP) \
$(GCC_WITH_HOST_MPFR) \
@@ -230,6 +231,7 @@
# have something to do with "path translations" and possibly doesn't
# affect gcc-target. However, I haven't tested gcc-target yet so no
# guarantees. mjn3
+
comma:=,
GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ)
@@ -240,6 +242,7 @@
#ln -snf ../lib/ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
(cd $(GCC_BUILD_DIR2); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
+ GCC=$(TARGET_CROSS)gcc \
LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
$(GCC_DIR)/configure \
--prefix=$(STAGING_DIR) \
@@ -250,6 +253,7 @@
--disable-__cxa_atexit \
--enable-target-optspace \
--with-gnu-ld \
+ --with-as=$(TARGET_CROSS)as \
$(GCC_WITH_HOST_GMP) \
$(GCC_WITH_HOST_MPFR) \
$(GCC_SHARED_LIBGCC) \
@@ -265,11 +269,14 @@
touch $@
$(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
- PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) all
+ PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(GCC_BUILD_DIR2) all
touch $@
$(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
- PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) install
+ PATH=$(TARGET_PATH) \
+ $(MAKE) $(HOST_CONFIGURE_OPTS) \
+ LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
+ -C $(GCC_BUILD_DIR2) install
if [ -d "$(STAGING_DIR)/usr/lib64" ]; then \
if [ ! -e "$(STAGING_DIR)/usr/lib" ]; then \
mkdir "$(STAGING_DIR)/usr/lib"; \
@@ -390,6 +397,7 @@
--with-gxx-include-dir=/usr/include/c++ \
--disable-__cxa_atexit \
--with-gnu-ld \
+ --with-gnu-as \
$(GCC_SHARED_LIBGCC) \
$(GCC_WITH_TARGET_GMP) \
$(GCC_WITH_TARGET_MPFR) \
@@ -407,7 +415,10 @@
$(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured
PATH=$(TARGET_PATH) \
- $(MAKE) -C $(GCC_BUILD_DIR3) all
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS_FOR_BUILD="-g -O2 $(HOST_CFLAGS)" \
+ $(TARGET_GCC_FLAGS) \
+ -C $(GCC_BUILD_DIR3) all
touch $@
#
@@ -436,7 +447,11 @@
$(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
PATH=$(TARGET_PATH) \
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(GCC_BUILD_DIR3) install
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS_FOR_BUILD="-g -O2 $(HOST_CFLAGS)" \
+ $(TARGET_GCC_FLAGS) \
+ DESTDIR=$(TARGET_DIR) \
+ -C $(GCC_BUILD_DIR3) install
# Remove broken specs file (cross compile flag is set).
rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
#
next reply other threads:[~2007-09-28 19:53 UTC|newest]
Thread overview: 170+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 19:53 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-03-01 20:20 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc jacmet at uclibc.org
2009-01-30 13:34 jacmet at uclibc.org
2009-01-29 19:24 jacmet at uclibc.org
2009-01-29 19:13 jacmet at uclibc.org
2009-01-22 11:18 jacmet at uclibc.org
2009-01-22 10:04 jacmet at uclibc.org
2009-01-17 22:38 Frank Hoeflich
2009-01-17 23:53 ` Shinya Kuribayashi
2009-01-16 14:13 jacmet at uclibc.org
2009-01-16 14:13 jacmet at uclibc.org
2009-01-16 16:36 ` Sven Neumann
2009-01-16 19:20 ` Peter Korsgaard
2009-01-18 13:47 ` Sven Neumann
2009-01-20 9:38 ` Peter Korsgaard
2009-01-17 15:37 ` Shinya Kuribayashi
2009-01-17 16:29 ` Peter Korsgaard
2009-01-17 23:07 ` Shinya Kuribayashi
2009-01-18 8:37 ` Peter Korsgaard
2009-01-18 8:48 ` Shinya Kuribayashi
2009-01-18 11:02 ` Peter Korsgaard
2008-10-02 15:02 egtvedt at uclibc.org
2008-10-02 14:32 egtvedt at uclibc.org
2008-08-22 13:59 jacmet at uclibc.org
2008-07-08 19:31 ulf at uclibc.org
2008-06-21 19:47 jacmet at uclibc.org
2008-06-22 10:25 ` Luigi 'Comio' Mantellini
2008-06-22 11:17 ` Peter Korsgaard
2008-06-22 20:18 ` Bernhard Fischer
2008-06-22 20:52 ` Peter Korsgaard
2008-09-17 11:12 ` Fathi Boudra
2008-09-17 11:33 ` Peter Korsgaard
2008-09-17 11:45 ` Fathi Boudra
2008-09-17 14:03 ` Peter Korsgaard
2008-06-19 19:06 jacmet at uclibc.org
2008-06-18 15:46 jacmet at uclibc.org
2008-06-19 0:38 ` Hamish Moffatt
2008-06-19 7:01 ` Peter Korsgaard
2008-06-18 15:42 jacmet at uclibc.org
2008-06-18 16:33 ` Thiago A. Corrêa
2008-06-18 17:59 ` Peter Korsgaard
2008-06-18 18:29 ` Bernhard Fischer
2008-06-17 13:33 jacmet at uclibc.org
2008-06-17 13:28 jacmet at uclibc.org
2008-06-17 12:54 jacmet at uclibc.org
2008-06-17 13:10 ` Hans-Christian Egtvedt
2008-06-17 13:33 ` Peter Korsgaard
2008-06-06 12:49 jacmet at uclibc.org
2008-04-04 14:16 jacmet at uclibc.org
2008-03-30 8:07 nkukard at uclibc.org
2008-03-30 8:06 nkukard at uclibc.org
2008-03-30 8:05 nkukard at uclibc.org
2008-03-30 8:04 nkukard at uclibc.org
2007-12-17 11:37 vanokuten at uclibc.org
2007-12-13 12:10 vanokuten at uclibc.org
2007-10-20 18:09 vanokuten at uclibc.org
2007-10-19 17:51 vanokuten at uclibc.org
2007-10-12 21:01 ulf at uclibc.org
2007-10-13 8:49 ` Cristian Ionescu-Idbohrn
2007-10-13 9:57 ` Ulf Samuelsson
2007-10-13 10:19 ` Cristian Ionescu-Idbohrn
2007-10-13 11:23 ` Bernhard Fischer
2007-10-13 18:37 ` Ulf Samuelsson
2007-10-13 19:58 ` Cristian Ionescu-Idbohrn
2007-10-13 20:31 ` Ulf Samuelsson
2007-10-13 23:31 ` Cristian Ionescu-Idbohrn
2007-10-14 1:08 ` Ivan Kuten
2007-10-15 6:50 ` Ulf Samuelsson
2007-10-15 17:40 ` Cristian Ionescu-Idbohrn
2007-10-15 18:16 ` Ulf Samuelsson
2007-10-15 18:55 ` Bernhard Fischer
2007-10-15 19:27 ` Ulf Samuelsson
2007-10-13 11:25 ` Bernhard Fischer
2007-10-12 15:14 ulf at uclibc.org
2007-10-12 12:30 ulf at uclibc.org
2007-10-07 17:22 ulf at uclibc.org
2007-10-01 21:12 ulf at uclibc.org
2007-10-01 21:06 aldot at uclibc.org
2007-10-01 12:57 aldot at uclibc.org
2007-10-01 12:56 aldot at uclibc.org
2007-09-29 20:44 ulf at uclibc.org
2007-09-29 17:32 ulf at uclibc.org
2007-09-25 17:21 aldot at uclibc.org
2007-09-25 16:39 aldot at uclibc.org
2007-09-23 21:23 aldot at uclibc.org
2007-09-20 9:25 aldot at uclibc.org
2007-09-19 18:46 aldot at uclibc.org
2007-09-19 17:32 aldot at uclibc.org
2007-09-15 12:12 aldot at uclibc.org
2007-09-04 7:35 aldot at uclibc.org
2007-09-03 6:26 ulf at uclibc.org
2007-09-03 14:09 ` Bernhard Fischer
2007-09-03 14:29 ` Ulf Samuelsson
2007-09-03 16:22 ` Rouslan Solomakhin
2007-09-03 21:16 ` Ulf Samuelsson
2007-09-04 8:22 ` Cristian Ionescu-Idbohrn
2007-09-04 8:43 ` Peter Korsgaard
2007-09-04 7:39 ` Bernhard Fischer
2007-09-03 6:10 ulf at uclibc.org
2007-09-01 17:11 aldot at uclibc.org
2007-09-01 17:09 aldot at uclibc.org
2007-08-26 21:00 aldot at uclibc.org
2007-08-26 20:47 aldot at uclibc.org
2007-08-21 10:32 aldot at uclibc.org
2007-08-21 10:28 aldot at uclibc.org
2007-08-21 10:26 ` Cristian Ionescu-Idbohrn
2007-08-21 11:11 ` Bernhard Fischer
2007-08-19 21:15 ulf at uclibc.org
2007-08-01 19:15 ulf at uclibc.org
2007-08-01 8:58 ulf at uclibc.org
2007-07-31 15:07 aldot at uclibc.org
2007-07-30 18:24 ulf at uclibc.org
2007-07-29 17:51 ulf at uclibc.org
2007-07-29 17:43 ulf at uclibc.org
2007-07-30 7:21 ` Bernhard Fischer
2007-07-30 7:53 ` Hans-Christian Egtvedt
2007-07-30 8:39 ` Bernhard Fischer
2007-07-30 9:14 ` Hans-Christian Egtvedt
2007-07-30 9:21 ` Bernhard Fischer
2007-07-30 10:19 ` Hans-Christian Egtvedt
2007-07-30 10:32 ` Bernhard Fischer
2007-07-30 10:41 ` Hans-Christian Egtvedt
2007-07-30 14:25 ` Ulf Samuelsson
2007-07-29 17:36 ulf at uclibc.org
2007-07-30 7:19 ` Bernhard Fischer
2007-07-08 16:27 aldot at uclibc.org
2007-07-08 13:13 aldot at uclibc.org
2007-07-08 12:50 aldot at uclibc.org
2007-07-07 23:55 aldot at uclibc.org
2007-07-07 12:58 aldot at uclibc.org
2007-07-07 12:28 ulf at uclibc.org
2007-09-01 18:43 ` Bernhard Fischer
2007-09-03 7:41 ` Ulf Samuelsson
2007-07-07 7:34 ulf at uclibc.org
2007-07-07 9:33 ` Bernhard Fischer
2007-07-07 11:55 ` Ulf Samuelsson
2007-07-07 12:39 ` Bernhard Fischer
2007-07-05 5:15 sjhill at uclibc.org
2007-07-05 5:13 sjhill at uclibc.org
2007-06-28 14:05 aldot at uclibc.org
2007-06-25 7:52 aldot at uclibc.org
2007-06-24 11:30 aldot at uclibc.org
2007-05-24 21:23 jacmet at uclibc.org
2007-05-15 13:58 jacmet at uclibc.org
2007-04-13 2:04 sjhill at uclibc.org
2007-04-02 16:18 aldot at uclibc.org
2007-03-22 17:21 aldot at uclibc.org
2007-02-14 8:49 aldot at uclibc.org
2007-02-09 14:05 aldot at uclibc.org
2007-02-09 13:43 aldot at uclibc.org
2007-02-04 21:59 aldot at uclibc.org
2007-02-04 15:23 aldot at uclibc.org
2007-01-31 15:09 aldot at uclibc.org
2007-01-28 11:57 aldot at uclibc.org
2007-01-26 14:51 aldot at uclibc.org
2007-01-25 0:18 aldot at uclibc.org
2007-01-21 11:50 aldot at uclibc.org
2006-12-28 8:49 aldot at uclibc.org
2006-12-28 8:48 aldot at uclibc.org
2006-12-22 11:45 aldot at uclibc.org
2006-12-22 11:43 aldot at uclibc.org
2006-12-22 11:38 aldot at uclibc.org
2006-12-12 17:01 aldot at uclibc.org
2006-12-10 13:24 aldot at uclibc.org
2006-12-07 17:02 aldot at uclibc.org
2006-12-07 4:49 sjhill at uclibc.org
2006-12-02 5:15 sjhill at uclibc.org
2006-11-16 9:55 jacmet at uclibc.org
2006-10-26 15:15 jacmet at uclibc.org
2006-10-02 19:40 andersen at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070928195314.9BD793007B@busybox.net \
--to=ulf@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox