On Jan 12, 2008 9:16 PM, Edd Barrett <[EMAIL PROTECTED]> wrote:
> On Jan 12, 2008 6:45 PM, Edd Barrett <[EMAIL PROTECTED]> wrote:
> > I'll have a look at that. I don't have a huge amount of time, so if it
> > becomes patch hell, then I may drop it :P
>
> It has a somewhat odd build system and will require some work.
>
> I don't have time at the moment.

I managed to compile and run sdlmame0122, and sound works.

Some tips:

- find . -type f -name "*.h" -exec perl -pi -e 's/#pragma once/#ifndef
__GNUC__\n#pragma once\n#endif/' {} \;
- use gmake
- install gcc-4.2 and change CC and LD (maybe this one is not
required) accordingly in the makefile
(the README says only gcc 3.4.x, 4.0.x and 4.1.x are supported, but it
seems to work with 4.2 for the roms I tried; gcc in base doesn't
compile sdlmame)
- define SDLMAME_FREEBSD in CFLAGS

I guess sdlmess should be built quite easily with the same method.

>
>
> --
> Best Regards
>
> Edd
>
> ---------------------------------------------------
> http://students.dec.bournemouth.ac.uk/ebarrett
>

-- 
Pierre Riteau

Reply via email to