lekernel changed the topic of #milkymist to: Mixxeo, Migen, Milkymist-ng & other Milkymist projects :: Logs: http://en.qi-hardware.com/mmlogs
antgreen has quit [Read error: Operation timed out]
antgreen has joined #milkymist
Padawan- has quit [Ping timeout: 248 seconds]
mumptai has joined #milkymist
xiangfu_ has joined #milkymist
xiangfu has quit [Ping timeout: 272 seconds]
mumptai has quit [Ping timeout: 272 seconds]
Flea86 has joined #milkymist
Flea86 has quit [Quit: ASCII a stupid question, get a stupid ANSI!]
zewan has joined #milkymist
<zewan>
Hi all. Sorry for blunt question, but how to build lm8 toolchain? where can I obtain gcc source?
<ysionneau>
ive never done any lm8 work
<ysionneau>
only lm32
<ysionneau>
i heard gcc is not awesome for 8bit micros
<ysionneau>
gcc sources are on gcc website :) but i dont know if upstream gcc supports lm8
<ysionneau>
maybe browse a little bit on lattice semi website
<ysionneau>
they should provide a toolchain
Padawan- has joined #milkymist
<zewan>
ysionneau, they provide toolchain in binary format but it's not work for me. And yes: upstream is not supports lm8
Padawan- is now known as Guest39589
<ysionneau>
you say it does not work?
<ysionneau>
could you elaborate?
Guest39589 is now known as Padawan-
Padawan- has quit [Changing host]
Padawan- has joined #milkymist
<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.
lekernel has joined #milkymist
<wpwrak>
if they've ported gcc, there must be the sources somewhere, too. else, tell rms and he'll hunt them down personally ;-)
<wpwrak>
there ought to be a pointer on the download location, a README, or similar
<wpwrak>
if not, just ask them politely. it's very unlikely that they'd intentionally try a blatant gpl violation
<ysionneau>
zewan: do you have a file "libgmp.so.*" in your computer?
<ysionneau>
maybe you need to search for it and tweak your LD_LIBRARY_PATH or do a symbolic link
<ysionneau>
or install a package from your distribution
<ysionneau>
if all of this fail, indeed you can follow wpwrak advice (README / ask them)
<zewan>
ysionneau, my libgmp.so newer version and 64bit. Toolchain won't acceps it.
<ysionneau>
wo
<ysionneau>
is it a 64bit RPM ?
<zewan>
yes
<ysionneau>
ah, then you're lucky
<ysionneau>
sometimes they only provide a i386 binary :)
<zewan>
it hard to say that I'm lucky :)
<ysionneau>
then maybe install an old enough RPM based distribution in your favorite virtualization software
<zewan>
or write code in pure asm
<lekernel>
ask lattice if you can't find the source. it would be nice to have it anyway.
<ysionneau>
if you have binutils for lm8 then why not :)
<ysionneau>
yes
<ysionneau>
on their LatticeMico8 tutorial they give RHEL 4.0 or 5.0 requirement
<lekernel>
just ignore and compile gcc yourself. those requirements are a pain.
<lekernel>
you can also try navre, an AVR-compatible softcore I've developed