Rockbox mail archive
Subject: RE: Cross compiling C++; malloc/free implementation?
I know that C++ and malloc are not in the Rockbox plan; however I'm looking
at adding an embedded database to my own copy. Metakit
(http://www.equi4.com/metakit/) looks pretty nice, but is in C++ (probably a
good choice for a database, but no religious wars :-) ), and I'm sure uses
new/delete liberally. If I did not use metakit, I'd be highly inclined to
take advantage of the C++ Standard Template Library, so I'd still want C++.
My motivation is to find a better way of selecting music than traversing a
Speaking of what Rockbox wants, are Windows shortcuts (i.e., sym-links) of
PS: I copied the configure args from the Rockbox web site. I did not
actually create a home/linus directory for my builds. :-)
From: owner-rockbox_at_cool.haxx.se [mailto:owner-rockbox_at_cool.haxx.se]On
Behalf Of Linus Nielsen Feltzing
Sent: Thursday, February 13, 2003 3:22 AM
Subject: Re: Cross compiling C++; malloc/free implementation?
> Has anyone managed to build the cross compiler with C++ support?
> I tried
../../gcc-3.0.4/configure --target=sh-elf --prefix=/home/linus/sh1 --enable-
> but this failed.
Same here. We don't want any C++ code in Rockbox so I didn't care much
about it, though.
> Related question: the source contains an implementation of malloc/free,
> which isn't used. How stable is this implementation? Could it be used?
It is rock solid, but we don't want to use it. Dynamic memory isn't very
useful in this kind of system anyway. Read the FAQ if you want an
Page was last modified "Jan 10 2012" The Rockbox Crew