[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] patch for uClinux-dist-20040218



Hi again,

As Hans pointed out, there was an ommission in the patch.  Attached is 
common-config.patch - apply it from the uClinux-dist directory:

[uClinux-dist] patch -p0 < common-config.patch

This should clear up the last remaining error.

Sorry for the mixup,

John
--- ../clean-dist/vendors/Xilinx/common/common-config.arch	2004-03-03 08:13:23.000000000 +1000
+++ vendors/Xilinx/common/common-config.arch	2004-03-02 14:51:34.000000000 +1000
@@ -167,8 +167,11 @@
 	GCC_LIB = $(GCC_DIR)/../../../../microblaze/lib/libc_$(LIBC_SUFFIX).a $(GCC_DIR)/libgcc.a
 
 	# use -lc (from uClibc) and also the compiler's libc.a as well
+	# I know this is hideous, but we need to relink against libc
+	# after the $GCC_LIB, to avoid some dependency issues
+	# Don't hate me, just fix it! :-) JW
 	
-	SLIBC	     = -lc $(GCC_LIB) 
+	SLIBC	     = -lc $(GCC_LIB) -lc
 	SLIBM        = -lm
 	SLIBNET      = -lnet
 	SLIBDES      = -ldes