CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed toolchain-noeabi issues (we need --with-sysroot at gcc-static's stage)
authorJose V Beneyto <sepen@crux.nu>
Tue, 30 Mar 2010 10:51:58 +0000 (12:51 +0200)
committerJose V Beneyto <sepen@crux.nu>
Tue, 30 Mar 2010 10:57:21 +0000 (12:57 +0200)
This option was removed with the first changeset for the eabi stuff, just see:
http://crux-arm.nu/gitweb/?p=toolchain.git;a=commitdiff;h=904576609f86da57ecc4ef20718728ed031bc5ff

I'm not sure about the eabi version, but the toolchain-noeabi requires this option to work.

Makefile

index 88d423f2f63723562a68f095efbc4b0b61d8cb2c..6338a8aadfff7c3c7a0f88347db9480f6ee1e7ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -148,8 +148,9 @@ $(CROSSTOOLS)/lib/gcc: $(WORK)/build-gcc-static $(WORK)/gcc-$(GCC_VERSION)
                AR=ar LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" \
                $(WORK)/gcc-$(GCC_VERSION)/configure --prefix=$(CROSSTOOLS) \
                --build=$(HOST) --host=$(HOST) --target=$(TARGET) \
-               --disable-multilib --disable-nls \
-               --without-headers --enable-__cxa_atexit --enable-symvers=gnu --disable-decimal-float \
+               --disable-multilib --with-sysroot=$(CLFS) --disable-nls \
+               --without-headers --with-newlib --disable-decimal-float \
+               --enable-__cxa_atexit --enable-symvers=gnu \
                --disable-libgomp --disable-libmudflap --disable-libssp \
                --with-mpfr=$(CROSSTOOLS) --with-gmp=$(CROSSTOOLS) \
                --disable-shared --disable-threads --enable-languages=c && \