Hello.

I'd like to port the rockbox digital audio player software to WinCE using cegcc 
+ sdl.  I've made the needed changes to compile rockbox as an SDL application 
and can do so nicely on a Linux machine, but am now getting stuck with the 
arm-wince-cegcc changes to the makefile.  For reference, I have compiled cegcc 
from SVN checkout, and can make and run simple WinCE apps from my Ubuntu 64 
machine.  I can also compile rockbox for arm-elf-gcc without issue.

Here is what I get so far:

http://pastebin.com/m37d4b1cf

So first cegcc isn't finding vfat.h, and then its completely screwed up parsing 
as soon as it gets into any code, so clearly I haven't defined something 
correctly. 

My complete makefile is here:

http://pastebin.com/mb951fbc

Specifically:

export CC=/usr/bin/ccache arm-wince-cegcc-gcc
export LD=arm-wince-cegcc-ld
export AR=arm-wince-cegcc-ar
export AS=arm-wince-cegcc-as
export OC=arm-wince-cegcc-objcopy
export WINDRES=arm-wince-cegcc-windres
export DLLTOOL=arm-wince-cegcc-dlltool
export DLLWRAP=arm-wince-cegcc-dllwrap
export RANLIB=arm-wince-cegcc-ranlib
export SIMVER=sdl
export GCCOPTS=-W -Wall -g -fno-builtin -D_GNU_SOURCE=1 -D_REENTRANT 
-I$(SIMDIR) -fomit-frame-pointer -Wno-pointer-sign -fno-strict-aliasing 
-nostdlib -ffreestanding -Wstrict-prototypes
export TARGET_INC=-I$(FIRMDIR)/target/generic/sdl/ 
-I$(FIRMDIR)/target/generic/sdl -I$(FIRMDIR)/target/generic 
-I$(ROOTDIR)/sdl/include/sdl
export LOADADDRESS=
export SHARED_FLAG=-shared
export LDOPTS=-L$(ROOTDIR)/sdl/lib -lSDL -mconsole

(Taken rather shamelessly from the arm-elf-gcc and x86 makefiles.)  

Can anyone suggest what I am missing?  I've been playing with this for a while 
now and am getting nowhere.

_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to