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

Rockbox mail archive

Subject: Re: CODEC_SIZE too small for the iriver simulator

Re: CODEC_SIZE too small for the iriver simulator

From: Frederic Devernay <>
Date: Wed, 27 Jul 2005 20:57:33 +0200

I was just mentioning that codec files were built differently for the
target and for the simulator.

target (iriver):
CC wav.c
LD wav.elf
OBJCOPY wav.codec

simulator (x11/cygwin):
CC wav.c
LD wav.codec

simulator (win32/cygwin)
CC wav.c
DLL wav.codec

The OBJCOPY step is what strips down the codec files, removes debugging
info, etc. That's the reason why simulator codec are way bigger than
target codecs. Win32 simulator uses DLLs, which may (I don't know) not
have debug info.


Magnus Holmgren a écrit :
> As far as I can tell, there's no code in the simulator to load anything
> but the *.codec file (at least when running the Win32 simulator, it says
> it loads e.g. mpa.codec). And tools/buildzip.dl doesn't seem to copy
> anything but *.codec, so I think the elf sizes are irrelevant.
> Magnus
> _______________________________________________

Received on 2005-07-27

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