Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Cross Compiler for Sandisk Sansa V2?

Re: Cross Compiler for Sandisk Sansa V2?

From: Jeffrey Ollie <jeff_at_ocjtech.us>
Date: Fri, 4 Jan 2008 10:52:47 -0600

On 1/3/08, Rene Peinthor <peinthor_at_gmail.com> wrote:
> On Jan 3, 2008 4:38 PM, Jeffrey Ollie <jeff_at_ocjtech.us> wrote:
>
> > I'd like to get a cross compiler set up so that I can help with
> > porting rockbox to the SanDisk Sansa V2 (I've never done any embedded
> > work before but at least I can do some testing). I've been looking
> > over the instructions for setting up a build environment on the wiki
> > and had one question - would a cross-compiler for the V2 use the same
> > arm-elf gcc target as the V1?
>
> As the AS3528 is based on an ARM9 core the arm-elf-gcc should work.

Thanks, I've now gotten binutils and gcc up and running for arm-elf
and I've built the Sansa e200 simulator and it seems to work (or at
least boot up - didn't have much time to test last night). I wasn't
able to get gcc 4.0.3 or 4.0.4 compiled on my Fedora 8 system due to
some bugs in gcc 4.0.x that are tickled by gcc 4.1.2:

    In function 'open',
        inlined from 'collect_execute' at ../../gcc-4.0.4/gcc/collect2.c:1580:
    /usr/include/bits/fcntl2.h:51: error: call to
'__open_missing_mode' declared with attribute error: open with O_CREAT
in second argument needs 3 arguments

The cross-compiler pages on the wiki say that gcc 4.1.0 isn't able to
produce correct builds, is this still the case with 4.1.2. Has anyone
tried 4.2.x or snapshots of what will become 4.3.x? I don't have any
real hardware that is currently supported by Rockbox to test on.

Jeff
Received on 2008-01-04

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