CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Call Win32 executable from Shell on M1

Hi I'm currently evaluating CrossOver.

I have an old Win32 IDE (integrated development environment) that I have been running with CrossOver on my M1. Works fine.

Now I want to build a makefile that calls the assembler and c-compiler that are in the bin directory of that IDE. I want to run that makefile from my VSCode install.

$crossover/Contents/SharedSupport/CrossOver/bin/wine --cx-app $bottle/drive_c/Zilog/drive_c/Zilog/ZDSII_eZ80Acclaim!_5.3.5/bin/ez80cc.exe

I know I can open a Shell from within CrossOver. Apart from sending arguments to executables that works. But I want to start the .exe from outside of CrossOver. How does that work?

I've read an old post with a shell script but that doesn't work anymore.

Let me know.

Best regards, Mario

Try it like this:

DYLD_FALLBACK_LIBRARY_PATH=/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib64 WINARCH=win64 WINEPREFIX=/Users/amani/Library/Application\ Support/CrossOver/Bottles/Steam PATH=$PATH:/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/CrossOver-Hosted\ Application /Applications/CrossOver.app/Contents/SharedSupport/CrossOver/CrossOver-Hosted\ Application/wine32on64 pathtoyourwantedexe.exe

Replace "amani" with your user account, "wine32on64" with "wine" for a 32-bit binary and "pathtoyourwantedexe.exe" with the full path to the exe you want to run.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoibkpCVHh0aFB0UlV3YXZhUCIsImdkcHIiOjB9