| zewan | Hi all. Sorry for blunt question, but how to build lm8 toolchain? where can I obtain gcc source? | 11:27 |
|---|---|---|
| ysionneau | ive never done any lm8 work | 11:46 |
| ysionneau | only lm32 | 11:46 |
| ysionneau | i heard gcc is not awesome for 8bit micros | 11:47 |
| ysionneau | gcc sources are on gcc website :) but i dont know if upstream gcc supports lm8 | 11:48 |
| ysionneau | maybe browse a little bit on lattice semi website | 11:48 |
| ysionneau | they should provide a toolchain | 11:48 |
| zewan | ysionneau, they provide toolchain in binary format but it's not work for me. And yes: upstream is not supports lm8 | 11:55 |
| ysionneau | you say it does not work? | 12:00 |
| ysionneau | could you elaborate? | 12:00 |
| zewan | ysionneau, Of course. First of all, they deliver the toolchain in RPM format. After unpacking lm8-elf-gcc swears by the absence libgmp.so.3 library. | 12:07 |
| wpwrak | if they've ported gcc, there must be the sources somewhere, too. else, tell rms and he'll hunt them down personally ;-) | 12:13 |
| wpwrak | there ought to be a pointer on the download location, a README, or similar | 12:14 |
| wpwrak | if not, just ask them politely. it's very unlikely that they'd intentionally try a blatant gpl violation | 12:14 |
| ysionneau | zewan: do you have a file "libgmp.so.*" in your computer? | 12:16 |
| ysionneau | maybe you need to search for it and tweak your LD_LIBRARY_PATH or do a symbolic link | 12:17 |
| ysionneau | or install a package from your distribution | 12:17 |
| ysionneau | if all of this fail, indeed you can follow wpwrak advice (README / ask them) | 12:18 |
| zewan | ysionneau, my libgmp.so newer version and 64bit. Toolchain won't acceps it. | 12:18 |
| ysionneau | wo | 12:18 |
| ysionneau | is it a 64bit RPM ? | 12:18 |
| zewan | yes | 12:18 |
| ysionneau | ah, then you're lucky | 12:18 |
| ysionneau | sometimes they only provide a i386 binary :) | 12:18 |
| zewan | it hard to say that I'm lucky :) | 12:19 |
| ysionneau | then maybe install an old enough RPM based distribution in your favorite virtualization software | 12:19 |
| zewan | or write code in pure asm | 12:22 |
| lekernel | ask lattice if you can't find the source. it would be nice to have it anyway. | 12:22 |
| ysionneau | if you have binutils for lm8 then why not :) | 12:23 |
| ysionneau | yes | 12:23 |
| ysionneau | on their LatticeMico8 tutorial they give RHEL 4.0 or 5.0 requirement | 12:23 |
| lekernel | just ignore and compile gcc yourself. those requirements are a pain. | 12:24 |
| lekernel | you can also try navre, an AVR-compatible softcore I've developed | 12:24 |
| lekernel | most distros package avr-gcc | 12:24 |
| ysionneau | it seems that modern gcc have dropped support for lm8 (or maybe it has never been supported upstream?) : http://gcc.gnu.org/install/specific.html | 12:25 |
| zewan | lekernel, how much your navre IP core allocated slices or LEs? | 12:29 |
| ysionneau | zewan: what is your target FPGA? | 12:32 |
| ysionneau | zewan : a few informations about navre http://opencores.org/project,navre | 12:33 |
| ysionneau | it has been tested mostly on Spartan6 and I presume the numbers you fill find on this page are for synthesis with Spartan6 target | 12:33 |
| ysionneau | ah yes it's written. | 12:34 |
| zewan | ysionneau, EPM1270 | 12:37 |
| ysionneau | ok, I'm not familiar with altera chips | 12:47 |
| ysionneau | but the core is small | 12:47 |
| lekernel | zewan, something like 900 LUTs iirc | 12:49 |
| lekernel | if you want extreme area optimization, look at J1 | 12:50 |
| lekernel | it's also pretty fast. but uses a weird programming language. | 12:50 |
| zewan | lekernel, thanks. I'll see. | 12:53 |
| zewan | ANS forth? WTF? | 12:57 |
| lekernel | well, yes. :) | 12:57 |
| lekernel | it seems to work nicely though | 12:58 |
| ysionneau | I think somehow #milkymist is doing part of Lattice's hotline job :) | 14:36 |
| larsc | I think they recently closed their support forums | 14:39 |
| ysionneau | oh really? | 14:45 |
| ysionneau | strange... | 14:45 |
| GitHub151 | [milkymist-ng] sbourdeauducq pushed 1 new commit to master: http://git.io/RKWTQQ | 22:08 |
| GitHub151 | milkymist-ng/master 833d7c7 Sebastien Bourdeauducq: add CSV CSR map output | 22:08 |
| ysionneau | gn8 | 22:11 |
| --- Mon Oct 21 2013 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!