<p dir="ltr">SBaGen definitely works cross compiled. I posted a patch here a long time ago to add it to the source tree. You just need to reduce the bitrate to keep it from stuttering. </p>
<div class="gmail_quote">On Dec 5, 2013 7:59 AM, "Stefan Sperling" <<a href="mailto:stsp@stsp.name">stsp@stsp.name</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Dec 05, 2013 at 08:20:13AM +0100, Florian Bruhin wrote:<br>
> Hi,<br>
><br>
> * <a href="mailto:horak-fdf@web.de">horak-fdf@web.de</a> <<a href="mailto:horak-fdf@web.de">horak-fdf@web.de</a>> [2013-12-05 00:05:27 +0100]:<br>
> > i wantd to compile dslinux because i need sbagen and lame on my ds<br>
><br>
> Why would you need to *compile* DSLinux yourself for that? Just use<br>
> one of the ready builds at [1] or [2].<br>
><br>
>   [1] <a href="http://dslinux.org/builds/" target="_blank">http://dslinux.org/builds/</a><br>
>   [2] <a href="http://kineox.free.fr/DS/" target="_blank">http://kineox.free.fr/DS/</a><br>
><br>
> You merely want to cross-compile a single *application* for DSLinux,<br>
> that doesn't mean you have to compile DSLinux as a whole. Just like<br>
> when you're compiling something for your PC -- you don't have to<br>
> recompile your whole kernel for that ;)<br>
<br>
I think it's actually easier to build the whole tree, rather than<br>
trying to cross-compile one application and copying it to an existing<br>
dslinux install. Usually you'll need the C runtime and libraries etc.<br>
cross-compiled as well so you can link the application. The full build<br>
does that for you.<br>
<br>
If memory serves me right, I built the most recent set of binaries<br>
on Debian Squeeze. But it could also have been the Debian release<br>
that came before squeeze. In any case, it was a Debian-stable system.<br>
<br>
> That being said, I really doubt this is going to work. We're talking<br>
> about 67 MHz of processing "power" and 18 MB of RAM (2 MB without an<br>
> expension pack, which is _definitely_ not going to work).<br>
><br>
> I remember this was enough to run ssh and some audio player back when<br>
> I used DSLinux, but I guess there'll be no way SBAgen and lame will<br>
> run.<br>
<br>
Lame uses floating point instructions which are quite slow because<br>
they are emulated in software. There is madplay in the builds already<br>
to play mp3 files, which sort of works and doesn't use floating point.<br>
--<br>
dslinux-devel mailing list<br>
<a href="mailto:dslinux-devel@dslinux.in-berlin.de">dslinux-devel@dslinux.in-berlin.de</a><br>
<a href="http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel-dslinux.in-berlin.de" target="_blank">http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel-dslinux.in-berlin.de</a><br>
</blockquote></div>