--- Log opened Mon Sep 14 00:00:43 2015 | ||
-!- antgreen` is now known as atgreen | 14:35 | |
-!- orsonmmz is now known as orsonmmz|away | 15:50 | |
arand | I'm trying to build the or1k-elf newlib toolchain such that the final location should be /opt/or1k-elf, but while building things should end up in ~/tmp/opt/or1k-elf, have anyone had any success with this? | 18:44 |
---|---|---|
arand | I'm getting stuck at gcc stage 2 not finding newlib, despite using --with-build-sysroot=~/tmp/opt/or1k-elf Which seemed to work at least for stage 1 | 18:46 |
arand | This is what I'm using http://pastie.org/10419705 Currently on Debian 7 | 18:55 |
olofk | arand: Hmm... good question. Never tried that | 19:51 |
andrzejr | arand, I've successfully re-built it several days ago. The only problem was that afaik gdb required --disable-werror to compile | 20:22 |
arand | andrzejr: This is without and install into final $PREFIX? | 20:26 |
andrzejr | sorry, I misread your question. I installed it into $PREFIX as in the build instructions. | 20:27 |
arand | It would be nice in order to have a single distro package for the whole toolchain. | 20:36 |
arand | (Though I know that if done by the distro book it should be split up) | 20:36 |
olofk | arand: Do you know how other arches do it | 20:36 |
olofk | ? | 20:36 |
olofk | I guess that doing it for or1k shouldn't be that different from doing it for other arches | 20:37 |
arand | I've been trying to look around but found only a discouraging amount of "make install" in instructions. Though I must say I don't know much about cross-compiling to start with | 20:42 |
olofk | arand: If your goal is to build a package, perhaps it's still easiest to just install it to the target dir directly. Perhaps in a chroot if you want a clean environment | 20:46 |
arand | Thing is I want to be able to auto-build it in several environments as well. | 20:49 |
arand | I did manage to get or32 in two steps, (binutils gcc-stage1 newlib) and (gcc-stage2 gdb), and I'm suspecting that's about as good as it gets. | 20:57 |
--- Log closed Tue Sep 15 00:00:44 2015 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!