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: CODEC_SIZE too small for the iriver simulator

Re: CODEC_SIZE too small for the iriver simulator

From: Frederic Devernay <frederic.devernay_at_m4x.org>
Date: 2005-07-27

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.

Fred

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
> _______________________________________________
> http://cool.haxx.se/mailman/listinfo/rockbox
>

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Wed Jul 27 20:58:25 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa