|
Rockbox mail archiveSubject: RE: Cross compiling C++; malloc/free implementation?RE: Cross compiling C++; malloc/free implementation?
From: <rockbox_at_diffenbach.org>
Date: Thu, 13 Feb 2003 04:48:13 -0500 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 file hierarchy. Speaking of what Rockbox wants, are Windows shortcuts (i.e., sym-links) of interest? --Tom PS: I copied the configure args from the Rockbox web site. I did not actually create a home/linus directory for my builds. :-) -----Original Message----- 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 To: rockbox_at_cool.haxx.se Subject: Re: Cross compiling C++; malloc/free implementation? rockbox_at_diffenbach.org 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 explanation. /Linus Received on 2003-02-13 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |