[Scummvm-devel] Ports and their custom build systems. Do we need them?

Max Horn max at quendi.de
Wed Oct 14 18:17:21 CEST 2009


Am 14.10.2009 um 17:31 schrieb yotam barnoy:

> On Tue, Oct 13, 2009 at 11:43 AM, Willem Jan Palenstijn <wjp at usecode.org 
> > wrote:
> On Tue, Oct 13, 2009 at 11:30:24AM +0200, yotam barnoy wrote:
> > I know that from my perspective, the PSP's makefile is easier to  
> use than
> > configure. For example, I build using MSYS on windows, and my psp- 
> gcc can't
> > pass the compiler test that configure runs. I have to hack  
> configure to make
> > it work.
>
> How does the compiler test fail, and which hack works around it? We  
> can most
> likely change configure to make your compiler pass the test.
>
> -Willem Jan
>
> Checking with the recent additions Joost made to configure, I see  
> that my compiler does pass the test now. I think it was missing  
> library parameters. But my vorbis, zlib and mad libraries aren't  
> being detected, and as of right now configure seems to be having  
> some other (psp-section specific) issues on my system.

In which way is detection failing? If it's just a matter of their  
location, you could use --with-vorbis-prefix=DIR etc. to tell  
configure where to find them.


> I guess I just like the (relative) simplicity of a regular makefile.

Well, this "simplicity" only plays a role when you have to modify it,  
no?  Anyway, I am fine with letting you guys use what works best for  
you, although it seems to me mostly based on habit and not real  
merit ;).

What I like about configure+make is that I can have multiple builds  
made from the same source tree around. I tend to have a debug build, a  
release build, and a plugin build, and while working on the PS2 cross  
compilation code, it was very helpful to be able to do multiple builds  
in multiple dirs, too.

Another thing I like: I am guaranteed to use the same base set of  
compiler flags everywhere. It turned out that e.g. the PS2 port did  
not use "-fno-exceptions -fno-rtti", using them turned out to be a  
real boon. Right now only dc, ds and psp make use of it. Kostas, you  
may wish to add those to the WinCE Makefile, too, by the way!

Cheers,
Max 




More information about the Scummvm-devel mailing list