[uClibc] toolchain script
Charles Eidsness
charles.eidsness at ieee.org
Thu Sep 9 15:06:20 UTC 2004
Hi All,
I just tried to run the latest toolchain script to generate a toolchain
for a MIPS processor with no FPU (soft float) and ran into a little
problem. The script stopped with a "staging dir specs file is missing"
error.
It looks like the directory structure of the build was tweaked a little
recently and the change wasn't propagated through the build script
completely. The following patch resolved the issue.
Cheers,
Charles
--- make/gcc-uclibc-3.3.mk.orig 2004-09-09 10:37:00.000000000 -0400
+++ make/gcc-uclibc-3.3.mk 2004-09-09 10:37:12.000000000 -0400
@@ -168,11 +168,11 @@
);
ifeq ($(SOFT_FLOAT),true)
# Replace specs file with one that defaults to soft float mode.
- if [ ! -f
$(STAGING_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_V
ERSION)/specs ] ; then \
+ if [ ! -f
$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/gcc-lib/$(REAL_GNU_
TARGET_NAME)/$(GCC_VERSION)/specs ] ; then \
echo staging dir specs file is missing ; \
/bin/false ; \
fi;
- cp $(SOURCE_DIR)/specs-$(ARCH)-soft-float
$(STAGING_DIR)/usr/lib/gcc-lib
/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
+ cp $(SOURCE_DIR)/specs-$(ARCH)-soft-float
$(STAGING_DIR)/$(REAL_GNU_TARG
ET_NAME)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
endif
touch $(GCC_BUILD_DIR2)/.installed
More information about the uClibc
mailing list