[uClibc]small one liner patch

Erik Andersen andersen at codepoet.org
Mon Mar 31 16:16:39 UTC 2003


On Mon Mar 31, 2003 at 08:52:49AM +0100, Dave Airlie wrote:
> 
> This resolves some of my issues with gcc building some stuff with the
> wrong compiler...
> 
> Dave.
> 
> -- 
> David Airlie, Software Engineer
> http://www.skynet.ie/~airlied / airlied at skynet.ie
> pam_smb / Linux DecStation / Linux VAX / ILUG person

> --- orig/buildroot/make/gcc_target.mk	2003-03-06 10:01:28.000000000 +1100
> +++ buildroot/make/gcc_target.mk	2003-03-31 18:04:02.000000000 +1000
> @@ -297,6 +297,7 @@
>  		$(GCC_DIR)/configure \
>  		--target=$(GNU_TARGET_NAME) \
>  		--host=$(GNU_TARGET_NAME) \
> +		--build=$(GNU_HOST_NAME) \

Yup, making gcc_target.mk work as expected is a royal pain.  The
reason I've not added that magic line (which is obviously
correct) is that when built properly it doesn't seem to produce a
compiler that actually works....  grumble.  So until I can make
it build a working compiler for even the trivial case of
i386-linux when built on i386-linux, I really can't make that
change.  Suggestions/patches/fixes are very much welcome,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list