Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

Poll

If available, would you use Microsoft solutions for MAME32 and MAME

Yes
2 (25%)
No
6 (75%)

Total Members Voted: 7

Voting closed: January 18, 2006, 08:15:17 pm

  

Author Topic: Compile with Microsoft or MINGW  (Read 5083 times)

0 Members and 1 Guest are viewing this topic.

MikeQ

  • Guest
  • Trade Count: (0)
Compile with Microsoft or MINGW
« on: January 13, 2006, 08:15:17 pm »
I'm aware of VCMAME but would have a solution that can compile MAME32 and MAME separate or together.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Compile with Microsoft or MINGW
« Reply #1 on: January 14, 2006, 06:26:30 pm »
Question: If available, would you use Microsoft solutions for MAME32 and MAME? 

Not in a million years.

I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: Compile with Microsoft or MINGW
« Reply #2 on: January 14, 2006, 10:09:14 pm »
Not sure what is the purpose of this survey.

VCmame could compile mame or mame32 (haven't used it an a while)

Are you questioning how good the VS compiler is?

What about the Intel compiler? Fastmame?



MikeQ

  • Guest
  • Trade Count: (0)
Re: Compile with Microsoft or MINGW
« Reply #3 on: January 14, 2006, 10:58:06 pm »
The purpose is to determine if people would like to have the ability to compile my version of mame with Microsoft compilers.
« Last Edit: January 14, 2006, 11:05:05 pm by MikeQ »

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: Compile with Microsoft or MINGW
« Reply #4 on: January 15, 2006, 12:09:55 am »
Like I said it has been a while since I have played with VCMAME. I seem to remember that there where a couple of things that where different on VCMAME.

VCMAME did not used to support the DRC for MIPS. ( so games like KI, where not playable at full speed using VCMame.)
Also I don't think it supported the assembly CPU cores. (There were issues with these so may not be a big deal).

There are probably more things I can't think of.

Good luck


krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Compile with Microsoft or MINGW
« Reply #5 on: January 16, 2006, 12:17:48 am »
Are you talking about differences from a performance standpoint or as a developer?

Personally, I use the standard mame compiling tools (mingw) when making a build that I'd use in my cabinet.

However, for development work on mame, I use visual studio 2005 because it's much more developer friendly than command line tools and a text editor.  The debugger in particular makes it totally worth it.

As a side note, I believe it's good for the mame project to compile mame with as many different compilers as possible.  Each compiler catches different errors and warns about different things and fixing as many of the errors and warnings as possible and submitting them back into the main source code base results in better code for everyone.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:January 13, 2025, 08:48:40 am
  • penguin poker
    • StickFreaks
Re: Compile with Microsoft or MINGW
« Reply #6 on: January 16, 2006, 01:06:17 am »
The purpose is to determine if people would like to have the ability to compile my version of mame with Microsoft compilers.  If no one wants this, then I would just use the MINGW mechanism.

MS Visual Studio tools and Intel's ICC both cost an arm and a leg.  99.9999% of users are NOT going to have this software on hand, and are NOT going to pay money for it just to compile something free like MAME (or a spinoff/utility/front-end/whatever).

Stick with MinGW/GCC.  With the upcoming GCC4.0 builds there will be enough speed improvements to negate the need for other expensive compilers and their 5% speed boosts.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Compile with Microsoft or MINGW
« Reply #7 on: January 16, 2006, 01:55:40 am »
MS Visual Studio tools and Intel's ICC both cost an arm and a leg.  99.9999% of users are NOT going to have this software on hand, and are NOT going to pay money for it just to compile something free like MAME (or a spinoff/utility/front-end/whatever).

Last time I checked VC 2005 Express was free.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

MikeQ

  • Guest
  • Trade Count: (0)
Re: Compile with Microsoft or MINGW
« Reply #8 on: January 16, 2006, 09:12:36 am »
MS Visual Studio tools and Intel's ICC both cost an arm and a leg.  99.9999% of users are NOT going to have this software on hand, and are NOT going to pay money for it just to compile something free like MAME (or a spinoff/utility/front-end/whatever).

Last time I checked VC 2005 Express was free.


VC 2005 is free.  Not an arm or a leg.

I've gotten free Intel compilers before too.  They use to have a 30 eval period but after 30 days the product still functioned.  You just didn't get support.

MikeQ

  • Guest
  • Trade Count: (0)
Re: Compile with Microsoft or MINGW
« Reply #9 on: January 16, 2006, 09:14:51 am »
The purpose is to determine if people would like to have the ability to compile my version of mame with Microsoft compilers.  If no one wants this, then I would just use the MINGW mechanism.

MS Visual Studio tools and Intel's ICC both cost an arm and a leg.  99.9999% of users are NOT going to have this software on hand, and are NOT going to pay money for it just to compile something free like MAME (or a spinoff/utility/front-end/whatever).

Stick with MinGW/GCC.  With the upcoming GCC4.0 builds there will be enough speed improvements to negate the need for other expensive compilers and their 5% speed boosts.


I'm not suggesting I'd only provide a Microsoft project only.  I'd still proved the MinGW/GCC make file.  The Microsoft project would be additional.

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
Re: Compile with Microsoft or MINGW
« Reply #10 on: January 17, 2006, 05:39:25 pm »
I would love an Visual Studio solution.   So please go for it.  :)

Actually what would be infinitely better is if mame could be rewritten in C++.  The design would make more sense visually when looking at the code and would be much cleaner and easier to read/maintain/modify.

« Last Edit: January 17, 2006, 05:42:48 pm by Farmboy90 »

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8190
  • Last login:Today at 12:23:05 am
  • The Bears Still Suck!
Re: Compile with Microsoft or MINGW
« Reply #11 on: January 17, 2006, 06:05:50 pm »
I would stick with mingw because
1) it is what mame uses
2) it is much easier to setup.  So even a noob can compile a custom mame if needed
3) takes up a smaller footprint on harddrive

You don't gain that much by using VS except for debugging, which most people who compile mame for a custom compile don't need.

But if it is going to be additional then sure, go ahead.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Compile with Microsoft or MINGW
« Reply #12 on: January 17, 2006, 06:52:03 pm »
I voted no, but SirP said it:

I would stick with mingw ...

But if it is going to be additional then sure, go ahead.
Robin
Knowledge is Power

MikeQ

  • Guest
  • Trade Count: (0)
Re: Compile with Microsoft or MINGW
« Reply #13 on: January 17, 2006, 08:07:26 pm »
It would be additional.

The WPO option in Microsoft can buy you a lot too.  I've Vtuned Mame and looked at the module percentages and Microsoft is routinely a faster build.  I haven't gone as far as measuring FPS differences though.

The main reason however to provide the Microsoft solution however is debugging like people have said but also so that you can use all the nice features that 3rd party development tools allow.  I use Incredibuild for "compiler farm" compiling (compile mame in under a minute).  Vtune and NuMega tools, etc..  All these tools tightly integrate with Visual Studio.

elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:January 13, 2025, 08:48:40 am
  • penguin poker
    • StickFreaks
Re: Compile with Microsoft or MINGW
« Reply #14 on: January 17, 2006, 08:56:52 pm »
I'm not suggesting I'd only provide a Microsoft project only.  I'd still proved the MinGW/GCC make file.  The Microsoft project would be additional.

Well in that case I don't mind either way.  I'm 100% GNU myself (big stinking Linux hippy) and if the MS stuff is merely an addition I can ignore, then it affects me naught.

It's all down to how much effort you can be bothered putting in for each release.  Although for pure acedemic reasons, I'd be very interested to see them run side by side for benchmarking purposes.

MikeQ

  • Guest
  • Trade Count: (0)
Re: Compile with Microsoft or MINGW
« Reply #15 on: January 17, 2006, 11:06:57 pm »
I'm not suggesting I'd only provide a Microsoft project only.  I'd still proved the MinGW/GCC make file.  The Microsoft project would be additional.

Well in that case I don't mind either way.  I'm 100% GNU myself (big stinking Linux hippy) and if the MS stuff is merely an addition I can ignore, then it affects me naught.

It's all down to how much effort you can be bothered putting in for each release.  Although for pure acedemic reasons, I'd be very interested to see them run side by side for benchmarking purposes.


Well, I'll work in Visual Studio so putting the solutions out won't be a problem.

We had some Linux hippies at work that were always singing the praises of Linux.   When our company had to start supporting device drivers for Linux, these guys were assigned to do the work on Linux since they loved it.  Now they can't stop complaining about how much better Windows is.   :)