The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: creatine28 on February 09, 2004, 01:58:26 pm

Title: Can't compile dmame 79?
Post by: creatine28 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
Title: Re:Can't compile dmame 79?
Post by: Buddabing 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



Title: Re:Can't compile dmame 79?
Post by: creatine28 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?

Title: Re:Can't compile dmame 79?
Post by: Buddabing 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.
Title: Re:Can't compile dmame 79?
Post by: creatine28 on February 09, 2004, 07:30:38 pm
Cool, thanks!   I'll give it a try!


Title: Re:Can't compile dmame 79?
Post by: creatine28 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

Title: Re:Can't compile dmame 79?
Post by: creatine28 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