Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHere is my patch to make elf2flt compile properly on Debian platform....
Index: toolchain/elf2flt/elf2flt.mk
===================================================================
--- toolchain/elf2flt/elf2flt.mk (original)
+++ toolchain/elf2flt/elf2flt.mk (working copy)
@@ -20,6 +20,7 @@
(cd $(ELF2FLT_DIR); rm -rf config.cache;
$(ELF2FLT_DIR)/configure
--with-bfd-include-dir=$(BINUTILS_DIR1)/bfd/
+ --with-binutils-include-dir=$(BINUTILS_DIR)/include/
--target=$(REAL_GNU_TARGET_NAME)
--with-libbfd=$(BINUTILS_DIR1)/bfd/libbfd.a
--with-libiberty=$(BINUTILS_DIR1)/libiberty/libiberty.a \ Thorsten, here's how to apply it.... 1) Save the patch into ~/download/elf2flt.diff 2) cd ~/buildroot 3) patch -p0 <~/download/elf2flt.diff 4) rm -rf toolchain_build_nios2/elf2flt 5) make Hippo, does this patch look allright to you? Will it have any affect on non-Debian users? Should something like this go in svn?