Previous Thread
Next Thread
Print Thread
#101019 08/07/15 01:57 AM
Joined: Aug 2014
Posts: 3
S
Member
OP Offline
Member
S
Joined: Aug 2014
Posts: 3
Compiling M1 usually brings up the following message.

Quote:
C:\M1>make
Compiling m1mcui.o
gcc: `pkg config: No such file or directory
gcc: libpulse': No such file or directory
gcc: `sdl-config: No such file or directory
cc1.exe : error: unrecognized command line option "fcflags"
m1cui.c:1: warning: -fPIC ignored for target <all code is position independent>
m1cui.c:1: warning: -fPIC ignored for target <all code is position independent>
make: *** [m1cui.o] error 1


Using W7x64 with mingw-mame-20100102 and all help and suggestions are greatly appreciated. Thanks in advance.

EDIT: cmd doesn't support backtick syntax, and I need to make sure I have all these things installed correctly. Google-fu comes in handy like always. Using MSYS now.

Last edited by SUTOruin; 08/07/15 03:41 AM. Reason: e
Joined: Mar 2001
Posts: 17,070
Likes: 143
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,070
Likes: 143
You want to make -f makefile.win32 if you're building on Windows.

Joined: Aug 2014
Posts: 3
S
Member
OP Offline
Member
S
Joined: Aug 2014
Posts: 3
Can't find libm1.a

Joined: Mar 2001
Posts: 17,070
Likes: 143
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,070
Likes: 143
It's been a while. make -f makefile.dll to build m1.a / m1.dll, and make -f makefile.w32 to build the commandline M1.EXE.

Joined: Aug 2014
Posts: 3
S
Member
OP Offline
Member
S
Joined: Aug 2014
Posts: 3
It did the trick. Thanks.


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (Reznor007), 18 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,221
Posts120,756
Members5,053
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com