Switch to full style
About Mini vMac and all other 68k emulators, including SoftMac, Executor, and MESS.
Post a reply

I need help compiling Mini Vmac 36.04

Sun Feb 10, 2019 10:25 pm

The title says all. The thing is, I am using Visual C++ 2008 Express Edition, I set the options in the configuration file and everything to generate the tool executable (using the command utility BTW) and it generates two things after I compile: the exe of the config tool and an object file. So, I try running the exe with a t command, it just bomards me with a wall of text, but it doesn't generate any project file nor does it generate any makefile file, which I need to have to build the darn thing in the first place. What am I supposed to do next? I am lost!

Re: I need help compiling Mini Vmac 36.04

Mon Feb 11, 2019 6:49 pm

You're going to want to start here:
https://www.gryphel.com/c/minivmac/build.html
Notably, there's useful information here: https://www.gryphel.com/c/minivmac/setupcfg.html

To use the compiler like you're wanting to, you'll need to set Use Command Line appropriately.

By default, it'll just create a visual studio project that you should be able to load and run. Alternatively, you can build it inside MinGW. If you want a makefile, the Use Command Line flag must be set.

Re: I need help compiling Mini Vmac 36.04

Fri Feb 15, 2019 4:05 am

Well, saw your comment, and I tried all sorts of things, like putting all the files of the setup folder in an individual project and then build, putting all the files of the folder in an project (respecting the original hierarchy ofc) but I always either get an exe that I have to run on the command line (which just gives me in return a wall of text) or the building fails. I am going insane with this! If you could give me a helping hand, I would really appreciate it.

Re: I need help compiling Mini Vmac 36.04

Fri Feb 15, 2019 4:31 am

It would probably work better for someone with access to a similar environment to yours to give you a hand; my default build environment is on OS X.

Re: I need help compiling Mini Vmac 36.04

Fri Feb 15, 2019 12:22 pm

Couldn´t you just use the old build procedure for 3.58?
If you don´t need a cutting edge build, you might look here (3. DL): http://macintoshgarden.org/apps/mac-sys ... c-mac-plus
Last edited by 24bit on Sat Feb 16, 2019 11:12 am, edited 1 time in total.

Re: I need help compiling Mini Vmac 36.04

Sat Feb 16, 2019 6:28 am

macplus wrote:(which just gives me in return a wall of text)

It's a bash script.
To build Mini vMac 36.04, it seems to need bash.

How to build using VC++2008 (without linux like environment)

1) append following lines to setup\CONFIGUR.i
Code:
#define cur_ide gbk_ide_msv
#define ide_vers 9000
#define UseCmndLine 1

2) generate setup.sh (VS command prompt)
Code:
cl setup\tool.c
tool -t wx86 >setup.sh

3) generate makefile using online bash

e.g. https://repl.it/languages/bash

Paste contents of setup.sh, execute and download makefile.

4) make (VS command prompt)
Code:
nmake

minivmac.exe will be generated.

Re: I need help compiling Mini Vmac 36.04

Sat Feb 16, 2019 6:37 am

Thanks a lot for your help! I will try it out later (as it is 3 AM and I REALLY want to sleep) and tell you the results.
Update: It worked! I decided to skip the makefile thing and I went with the project file. After building it gave me a nice little exe ready to run!
Post a reply