Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#38012 - 02/02/08 08:35 PM Best compile options for SDLMAME and Linux Kernel  
Joined: Dec 2006
Posts: 149
jrcmilanez Offline
Senior Member
jrcmilanez  Offline
Senior Member

Joined: Dec 2006
Posts: 149
Hello everybody.

After a lot of work, I'm returning to the AdvanceCD project. For now, I have a simple question: Which target options I should use to compile SDLMAME and Linux Kernel to be most compatible with all users?

I guess for Kernel I should use pentium-pro (i686 32bit) with SMP. And for SDLMAME? The same settings?

Please give your opinion!

Thanks in advice, dudes!

#38013 - 02/02/08 09:05 PM Re: Best compile options for SDLMAME and Linux Kernel [Re: jrcmilanez]  
Joined: Mar 2001
Posts: 15,517
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,517
USA
Yes, a plain "make" with defaults should be most compatible ("make PTR64=1" for x64).

#38020 - 02/03/08 06:06 AM Re: Best compile options for SDLMAME and Linux Kernel [Re: R. Belmont]  
Joined: Dec 2007
Posts: 40
kr4pul4x Offline
Member
kr4pul4x  Offline
Member

Joined: Dec 2007
Posts: 40
JAPAN
Once, i tried to compile with both 64 bits and core 2 duo option
and it failed.
if i choice only one of the two option, it compile without error.
any idea why?

#38021 - 02/03/08 06:07 AM Re: Best compile options for SDLMAME and Linux Kernel [Re: kr4pul4x]  
Joined: Mar 2001
Posts: 15,517
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,517
USA
No idea, but you don't need any special tuning for a C2D anyway. Those will run anything fast.

#38026 - 02/03/08 01:04 PM Re: Best compile options for SDLMAME and Linux Ke [Re: R. Belmont]  
Joined: Mar 2007
Posts: 24
Mevi Offline
Member
Mevi  Offline
Member

Joined: Mar 2007
Posts: 24
Liege, Belgium
Originally Posted By R. Belmont
No idea, but you don't need any special tuning for a C2D anyway. Those will run anything fast.

Yeah, I just bought a C2D E8500 and overclocked it easily to 4.01 GHz, sure it could be higher. Really impressive, now compiling time is 4:30 for a gcc standard build and many 3D games are running near or full speed, with sound sluttering for some of them ;-)

My latest PC was a Athlon64 3700+ (the C2D iMac doesn't count as it is not done for overclocking)



SDLMAME for Mac OS X
Mac Intel optimized builds (not updated ATM)
http://www.mametesters.net/sdlmame/
#38030 - 02/03/08 04:02 PM Re: Best compile options for SDLMAME and Linux Ke [Re: Mevi]  
Joined: Mar 2001
Posts: 15,517
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,517
USA
Nice! What cooling are you using on that?

#38035 - 02/03/08 05:45 PM Re: Best compile options for SDLMAME and Linux Ke [Re: R. Belmont]  
Joined: Mar 2007
Posts: 24
Mevi Offline
Member
Mevi  Offline
Member

Joined: Mar 2007
Posts: 24
Liege, Belgium
Originally Posted By R. Belmont
Nice! What cooling are you using on that?

a Noctua NH-U12P. It's not cheap, but well worth it for overclocking purposes.

BTW it's stabilized now and I didn't touch to various voltages yet, it's running at FSB 423 (x9.5), DDR2 at 846 MHz (4-4-4-12)
and 1.8v, CPU is 1.225v


SDLMAME for Mac OS X
Mac Intel optimized builds (not updated ATM)
http://www.mametesters.net/sdlmame/
#38058 - 02/04/08 05:19 AM Re: Best compile options for SDLMAME and Linux Ke [Re: R. Belmont]  
Joined: Dec 2006
Posts: 149
jrcmilanez Offline
Senior Member
jrcmilanez  Offline
Senior Member

Joined: Dec 2006
Posts: 149
Hello Belmont!

I think the best option is i686 machine with smp. I was unable to compile for 64 bit because I'm working with Mandriva Linux 2008 32-bit and I got this error:

Compiling src/osd/sdl/sdlsync.c...
cc1: warnings being treated as errors
In file included from src/osd/sdl/osinline.h:10,
from src/osd/sdl/sdlsync.c:38:
src/emu/eminline.h: In function ‘compare_exchange_ptr’:
src/emu/eminline.h:346: warning: cast from pointer to integer of different size
src/emu/eminline.h:346: warning: cast from pointer to integer of different size
src/emu/eminline.h:351: warning: cast to pointer from integer of different size
src/osd/sdl/sdlsync.c: In function ‘osd_exchange_pthread_t’:
src/osd/sdl/sdlsync.c:88: warning: implicit declaration of function ‘osd_exchange64’
make: ** [obj/sdl/mame/osd/sdl/sdlsync.o] Erro 1



PS: I just switched my machine to a AMD Athlon X2 +6000 with 4 GB of DDR2 800 RAM. Can do I a multi-thread compilation for SDLMAME compile?

Last edited by Gore Daimon; 02/04/08 05:19 AM.
#38059 - 02/04/08 05:26 AM Re: Best compile options for SDLMAME and Linux Ke [Re: jrcmilanez]  
Joined: Mar 2001
Posts: 15,517
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,517
USA
"make [options] -j3" is normally how you'd do a multithread compile for a dual-core. (For completeness, on machines with less than 1 GB RAM should probably stick with -j2 but that's obviously not a problem here).

#38061 - 02/04/08 05:34 AM Re: Best compile options for SDLMAME and Linux Ke [Re: R. Belmont]  
Joined: Dec 2006
Posts: 149
jrcmilanez Offline
Senior Member
jrcmilanez  Offline
Senior Member

Joined: Dec 2006
Posts: 149
Amazing speed! smile

This can be done with linux kernel too?

Page 1 of 2 1 2

Moderated by  R. Belmont 

Who's Online Now
5 registered members (zillion, AJR, Breiztiger, JonasP, 1 invisible), 24 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,307
Posts107,341
Members4,731
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.058s Queries: 15 (0.009s) Memory: 5.0173 MB (Peak: 5.2673 MB) Zlib enabled. Server Time: 2017-03-24 21:45:51 UTC