November 20, 2012 Re: How to compile RABCDAsm on the Raspberry Pi !? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Swen | On 20 November 2012 20:07, Swen <maildeluxe@mail.ru> wrote: > On Tuesday, 20 November 2012 at 19:50:46 UTC, Johannes Pfau wrote: >> >> Am Sun, 18 Nov 2012 21:13:54 +0100 >> schrieb "Swen" <maildeluxe@mail.ru>: >> >>> Thanks for your patience! >>> OK i will try to recompile gdc. >>> So how i understand, i have to build gdc with this tutorial >>> http://gdcproject.org/wiki/Raspberry%20Pi/build/Raspbian%28Hardfloat%29 >>> but instead of this line: >>> git clone https://github.com/D-Programming-GDC/GDC.git >>> i have to use this: >>> git clone https://github.com/jpf91/GDC.git >>> >>> everything else is the same !? >> >> >> Yes. But thinking about this some more there's another issue which could also cause your problems. I'll try to compile RABCDAsm next weekend to see what's really causing the problem. >> >>> >>> p.s Johannes Pfau seems to be a German name ? Can you speak German ? Because i can :) >> >> >> Klar doch ;-) > > > Ok thank you very mutch! I don't know if we can speak german here (in this > forum), because for me it would be much easier :) As a rule of thumb, keep techy things in english. If you are veering off topic, maybe you should just PM. :o) -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; |
November 25, 2012 Re: How to compile RABCDAsm on the Raspberry Pi !? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Swen | Am Tue, 20 Nov 2012 21:07:34 +0100 schrieb "Swen" <maildeluxe@mail.ru>: > > Ok thank you very mutch! I don't know if we can speak german here (in this forum), because for me it would be much easier :) Here are the compiled binaries, I hope they're working as expected: http://www.mediafire.com/?x5oaqtn2dc6k7v7 I had to use the my gdc branch but this patch is also necessary: https://github.com/D-Programming-Language/phobos/pull/819 It will be merged into gdc when dmd 2.061 is released. rdmd didn't work for some reason, so I had to compile the programs manually: gdc-4.7 -o rabcdasm disassembler.d rabcdasm.d abcfile.d asprogram.d murmurhash2a.d common.d -fversion=HAVE_LZMA -llzma gdc-4.7 -o rabcasm rabcasm.d abcfile.d asprogram.d assembler.d murmurhash2a.d common.d -fversion=HAVE_LZMA -llzma gdc-4.7 -o abcexport abcexport.d abcfile.d asprogram.d murmurhash2a.d common.d swffile.d zlibx.d lzma.d deimos/lzma.d deimos/lzma_/*.d -fversion=HAVE_LZMA -llzma gdc-4.7 -o abcreplace abcreplace.d asprogram.d abcfile.d murmurhash2a.d common.d swffile.d zlibx.d lzma.d deimos/lzma.d deimos/lzma_/*.d -fversion=HAVE_LZMA -llzma gdc-4.7 -o swfbinexport swfbinexport.d asprogram.d abcfile.d murmurhash2a.d common.d swffile.d zlibx.d lzma.d deimos/lzma.d deimos/lzma_/*.d -fversion=HAVE_LZMA -llzma gdc-4.7 -o swfbinreplace swfbinreplace.d asprogram.d abcfile.d murmurhash2a.d common.d swffile.d zlibx.d lzma.d deimos/lzma.d deimos/lzma_/*.d -fversion=HAVE_LZMA -llzma gdc-4.7 -o swfdecompress swfdecompress.d asprogram.d abcfile.d murmurhash2a.d common.d swffile.d zlibx.d lzma.d deimos/lzma.d deimos/lzma_/*.d -fversion=HAVE_LZMA -llzma gdc-4.7 -o swf7zcompress swf7zcompress.d asprogram.d abcfile.d murmurhash2a.d common.d swffile.d zlibx.d lzma.d deimos/lzma.d deimos/lzma_/*.d -fversion=HAVE_LZMA -llzma |
November 25, 2012 Re: How to compile RABCDAsm on the Raspberry Pi !? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johannes Pfau | Hi! i tried it out and it seems to work. after abcexport file.swf i get an file-0.abc file ! yes :) but when i run the second command rabcdasm file-0.abc i get "core.exception.OutOfMemoryError". I think Raspberry Pi is to slow for this ? I tested this on 512 MB RAM Version (64 MB for the GPU) |
November 26, 2012 Re: How to compile RABCDAsm on the Raspberry Pi !? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Swen | Am Sun, 25 Nov 2012 22:47:20 +0100
schrieb "Swen" <maildeluxe@mail.ru>:
> Hi! i tried it out and it seems to work.
> after abcexport file.swf i get an file-0.abc file ! yes :)
> but when i run the second command rabcdasm file-0.abc i get
> "core.exception.OutOfMemoryError".
> I think Raspberry Pi is to slow for this ?
> I tested this on 512 MB RAM Version (64 MB for the GPU)
>
I don't know how much memory is usually needed by RABCDAsm. It could be that it just needs more memory or it is a bug in our garbage collector.
You could try to enable / increase swap space though.
|
Copyright © 1999-2021 by the D Language Foundation