dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Cross compiling C++; malloc/free implementation?

Re: Cross compiling C++; malloc/free implementation?

From: Linus Nielsen Feltzing <>
Date: Thu, 13 Feb 2003 09:21:42 +0100 wrote:
> 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-
> languages="c,c++"
> 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

Received on 2003-02-13

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy