Could you pleas eprovide me the source code and steps to cross compile dosbox for ARM
On Wednesday, January 4, 2012 at 12:02:57 AM UTC+5:30, azakai wrote: > > On Tue, Jan 3, 2012 at 12:06 AM, skierpage <[email protected] > <javascript:>> wrote: > >> On Mon, Jan 2, 2012 at 5:11 AM, skierpage wrote: > >> > so I tried > >> > % emconfigure ./configure --disable-sdltest > >> > but that fails with > >> > configure: error: Only libSDL 1.2.X supported > > > > On Jan 2, 10:29 am, Alon Zakai replied: > >> Hmm, does DosBox really need exactly 1.2, and not 1.3? I wonder if it > >> isn't just being conservative in the configure check... Simplest thing > >> might be to change 3 to 2 in the emscripten header there, and see what > >> happens. > > > > Thanks, changing 3 to 2 in emscripten's SDL/SDL_version.h got past > > this check. > > > >> But, if DosBox really does not work with API changes to SDL > >> in 1.3, there might be a problem (perhaps an easy to fix one, perhaps > >> not). > > > > I don't know. The ./configure from > http://source.dosbox.com/dosboxsvn.tgz > > has this specific check for libSDL 1.2.X in it... > > > > Anyway, I got more failures from `emconfig./configure` after that, for > > even simple tests like "checking for unsigned char", because the > > compiler command for all of them has the -lSDL output by `sdl-config -- > > libs` even if you use --disable-sdltest, and then the compiles fail > > after the bunch of "/usr/bin/ld: skipping incompatible /usr/lib/ > > libSDL.so when searching for -lSDL" errors I listed in my original > > message. So I tried my idea > >>> specify a different sdl-config binary just for enscriptem > >>> (maybe enscriptem could include one and emconfigure could set > SDL_CONFIG to it?) > > > > I created a modified em_sdl-config script that doesn't output -lSDL, > > doesn't add system -I${prefix}/include/SDL since emconfigure adds its > > own, etc., and then adding to tools/shared.py > > env['SDL_CONFIG'] = path_from_root('em_sdl-config') # Override the > > sdl-config utility in the SDL dev package. > > > > That successfully completes configure. I don't know whether DOSBox's > > use of the sdl-config utility in./configure is common, so I don't know > > if it's worth emscripten shipping with this workaround. > > > > I think it would be common, an sdl-config replacement would be useful > for other projects too since it's the normal way to compile with SDL. > A pull request would be much appreciated :) > > - azakai > > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
