Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/gcc

Buildroot ulf at uclibc.org 3 participants 3 messages Sep 29, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-09-29 10:32:58 -0700 (Sat, 29 Sep 2007) New Revision: 20117

Log:
Use linke to build-time-tools, disable libssp which does not work for cross-compile

Modified:
trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk

Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk +6 -5
@@ -252,8 +252,8 @@
 		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
-		--with-gnu-ld \
-		--with-as=$(TARGET_CROSS)as \
+		--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+		--disable-libssp \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \
@@ -355,13 +355,14 @@
 	touch $@
 
 cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
-cross_compiler gcc: uclibc-configured binutils gcc_initial \
-	$(LIBFLOAT_TARGET) uclibc \
-	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
 	$(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
 
+gcc-config:uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) \
+	uclibc $(GCC_BUILD_DIR2)/.configured
+
 gcc-clean:
 	rm -rf $(GCC_BUILD_DIR2)
 	for prog in cpp gcc gcc-[0-9]* protoize unprotoize gcov gccbug cc; do \
#1 lore raw

[Buildroot] Recent touch of gcc-uclibc-3.mk [was: Re: svn commit: trunk/buildroot/toolchain/gcc]

Quoted 6 lines · ulf at uclibc.org

Author: ulf
Date: 2007-09-29 10:32:58 -0700 (Sat, 29 Sep 2007) New Revision: 20117

Log:
Use linke to build-time-tools, disable libssp which does not work for cross-compile

What do you mean by "Use linke"?

Also, generally disabling libssp doesn't sound like a bright idea; I don't remember any trouble when cross-compiling from i686->i386-uclibc so i'm not too excited by you hardcoding that.

Oh, and you checked *thoroughly* not to break gcc-3.4.6, did you?

#2 lore raw

[Buildroot] Recent touch of gcc-uclibc-3.mk [was: Re: svn commit: trunk/buildroot/toolchain/gcc]

l?r 2007-09-29 klockan 20:24 +0200 skrev Bernhard Fischer:

Quoted 10 lines · ulf at uclibc.org
Quoted 6 lines

Author: ulf
Date: 2007-09-29 10:32:58 -0700 (Sat, 29 Sep 2007) New Revision: 20117

Log:
Use linke to build-time-tools, disable libssp which does not work for cross-compile

What do you mean by "Use linke"?

Spelling error

Quoted 3 lines

Also, generally disabling libssp doesn't sound like a bright idea; I don't remember any trouble when cross-compiling from i686->i386-uclibc so i'm not too excited by you hardcoding that.

Net is full of comments on liubssp not beeing able to cross-compile.

I am going to change this to be an extra config option if BR2_avr32 is selected, (as libmudflap)

Quoted 1 line

Oh, and you checked *thoroughly* not to break gcc-3.4.6, did you?

BR
Ulf Samuelsson