Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by hootsmon@Apr 26 2006, 11:49 AM here 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?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14680)</div> --- Quote End --- Hootsmon, I have tested the patch on FC5. The elf2flt works well. Good job. Could you post the patch to buildroot group of bug report on busybox.net ?