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

  

Author Topic: Can't compile dmame 79?  (Read 1901 times)

0 Members and 1 Guest are viewing this topic.

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Can't compile dmame 79?
« on: February 09, 2004, 01:58:26 pm »
I can't seem to get Dos mame to compile, keep getting the error    Invalid Switch  /dmame.......

Can anyone help?  


Also, I followed the dos compiling enviroment set up that's outlined on mame.net, but no luck?

Thanks,

Steve

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:Can't compile dmame 79?
« Reply #1 on: February 09, 2004, 04:03:42 pm »
I can't seem to get Dos mame to compile, keep getting the error    Invalid Switch  /dmame.......

Can anyone help?  


Also, I followed the dos compiling enviroment set up that's outlined on mame.net, but no luck?

Thanks,

Steve

What command line are you using for make? You should use "make MAMEOS=msdos", or change the makefile.

Also, what OS is the compiling computer running? DOS MAME won't compile on a computer that doesn't have long file name support. It'll run, but it won't compile.

Good luck!
Buddabing



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!

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:Can't compile dmame 79?
« Reply #2 on: February 09, 2004, 04:11:38 pm »
Quote

What command line are you using for make? You should use "make MAMEOS=msdos", or change the makefile.

Also, what OS is the compiling computer running? DOS MAME  won't compile on a computer that doesn't have long file name support. It'll run, but it won't compile.

Good luck!
Buddabing




Quote


I'm using the   make MAMEOS=msdos  command.  Also, I'm using windows 98 and running the compiler via a DOS prompt.
How can I make my computer support long file names?  

I think that might be my issue,  because when I look at a directory through a DOS prompt, my files names are shortened from something like   mame79++.exe    to    mame7~1.exe.


Thanks!


Just read this on google!


 djgpp.env disables long filnename support.
At the time the developers weren't sure whether or not it was
stable enough.  Now that we know that it is, set LFN=y in your
autoexec.bat and you'll get the long filenames back.


So, should I just add ..

"  Set LFN=Y  "    in my autoexec before I envoke the DJGPP.env?

« Last Edit: February 09, 2004, 04:36:27 pm by creatine28 »

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:Can't compile dmame 79?
« Reply #3 on: February 09, 2004, 07:18:07 pm »
Quote

What command line are you using for make? You should use "make MAMEOS=msdos", or change the makefile.

Also, what OS is the compiling computer running? DOS MAME  won't compile on a computer that doesn't have long file name support. It'll run, but it won't compile.

Good luck!
Buddabing




Quote


I'm using the   make MAMEOS=msdos  command.  Also, I'm using windows 98 and running the compiler via a DOS prompt.
How can I make my computer support long file names?  

I think that might be my issue,  because when I look at a directory through a DOS prompt, my files names are shortened from something like   mame79++.exe    to    mame7~1.exe.


Thanks!


Just read this on google!


 djgpp.env disables long filnename support.
At the time the developers weren't sure whether or not it was
stable enough.  Now that we know that it is, set LFN=y in your
autoexec.bat and you'll get the long filenames back.


So, should I just add ..

"  Set LFN=Y  "    in my autoexec before I envoke the DJGPP.env?



You can do the SET LFN=Y from anywhere in your autoexec. I tried it and it works for compiling from a DOS prompt within Windows. I tried under Windows 98FE.

So you should be good to go unless you want to compile on native DOS.
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!

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:Can't compile dmame 79?
« Reply #4 on: February 09, 2004, 07:30:38 pm »
Cool, thanks!   I'll give it a try!



creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:Can't compile dmame 79?
« Reply #5 on: February 10, 2004, 01:57:16 pm »
Dang!  It didn't work!     I guess as a last resort, I'm going to try to load the Compiler on my older system that has win 95.

Oh well!


Thanks for the help anyways!

Steve

« Last Edit: February 10, 2004, 04:10:30 pm by creatine28 »

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:Can't compile dmame 79?
« Reply #6 on: February 16, 2004, 04:42:47 pm »
Finally seemed to get it to work!   My problem was I had a copy of make.exe in the same directory as my mame source,  so it was like make.exe was been called twice.  Once when I run my compiler.bat (Which envokes DJGPP director/bin) and another just from make.exe being in my Source directory.  I erased the extra make file and it worked perfectly.

Steve