[uClibc]Latest toolchain: ix86 --> powerpc problems

Pedro Sanchez psanchez at nortelnetworks.com
Tue Dec 3 21:14:57 UTC 2002


OK, here's the patch that I use.

Cheers,

-- 
Pedro

On Tue, 2002-12-03 at 15:50, Erik Andersen wrote:
> On Tue Dec 03, 2002 at 03:23:53PM -0500, Pedro Sanchez wrote:
> > BTW, another question: What is the best way to get the toolchain
> > optimized for a particular processor? So far, what I'm doing is editing
> > the make file to include something like
> > 
> > 	CONFIG_OPTS=--with-cpu=403 --nfp --without-fp
> > 
> > and then adding this variable to the configure statements used to build
> > gcc. Is there another way to do it?
> 
> That works.  I do accept patches...
> 
>  -Erik
> 
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--

-------------- next part --------------
--- Makefile.orig	Tue Dec  3 16:05:14 2002
+++ Makefile	Tue Dec  3 15:57:08 2002
@@ -55,12 +55,6 @@
 # Command used to download source code
 WGET:=wget --passive-ftp
 
-# Add processor specific options to configure binutils
-BINUTILS_CONFIG_OPTS:=
-
-# Add processor specific options to configure gcc
-GCC_CONFIG_OPTS:=
-
 #############################################################
 #
 # What shall we build today?
@@ -225,7 +219,6 @@
 $(BINUTILS_DIR1)/.configured: $(BINUTILS_DIR)/.patched
 	mkdir -p $(BINUTILS_DIR1)
 	(cd $(BINUTILS_DIR1); CC=$(HOSTCC) $(BINUTILS_DIR)/configure \
-		$(BINUTILS_CONFIG_OPTS) \
 		--target=$(GNU_TARGET_NAME) --prefix=$(STAGING_DIR) \
 		--exec-prefix=$(STAGING_DIR) --bindir=$(STAGING_DIR)/bin \
 		--sbindir=$(STAGING_DIR)/sbin --sysconfdir=$(STAGING_DIR)/etc \
@@ -279,7 +272,6 @@
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(STAGING_DIR)/bin:$$PATH AR=$(ARCH)-uclibc-ar \
 		RANLIB=$(ARCH)-uclibc-ranlib CC=$(HOSTCC) $(GCC_DIR)/configure \
-		$(GCC_CONFIG_OPTS) \
 		--target=$(GNU_TARGET_NAME) --prefix=$(STAGING_DIR) \
 		--exec-prefix=$(STAGING_DIR) --bindir=$(STAGING_DIR)/bin \
 		--sbindir=$(STAGING_DIR)/sbin --sysconfdir=$(STAGING_DIR)/etc \
@@ -429,7 +421,6 @@
 	mkdir -p $(GCC_BUILD_DIR2)
 	(cd $(GCC_BUILD_DIR2); PATH=$(STAGING_DIR)/bin:$$PATH AR=$(ARCH)-uclibc-ar \
 		RANLIB=$(ARCH)-uclibc-ranlib CC=$(HOSTCC) $(GCC_DIR)/configure \
-		$(GCC_CONFIG_OPTS) \
 		--target=$(GNU_TARGET_NAME) --prefix=$(STAGING_DIR) \
 		--exec-prefix=$(STAGING_DIR) --bindir=$(STAGING_DIR)/bin \
 		--sbindir=$(STAGING_DIR)/sbin --sysconfdir=$(STAGING_DIR)/etc \


More information about the uClibc mailing list