How to install assembly x86 on vs code for m1 mac - visual-studio-code

I'm taking a class for assembly x86 and I haven't figured out how to get it running on my current version of vs code. I was wondering if someone can explain how to do this or link to a tutorial they found.
Some extra things that may be helpful: Computer is an m1 mac, I have the necessary things installed to run c++ and python, vs code is the 2022 version.

Related

Installed and Portable version of a software on windows 11

Hello and happy new year.
I have a problem with my software. I've installed Visual Studio Code on my windows 11 and commonly I've installed some extensions on it.
also I have my Portable VS Code on an USB flash, but here's my problem. when I plug in my USB into my pc and open the VS Code, I don't know why windows open the installed version, because I want to install some extensions on the portable VS Code manually but I can't because of this problem,so is there a way to solve it?

32-bit version of VS Code for Windows 7

I am trying to get a version of VS Code that will run on 32-bit Windows 7.
This page points to the release notes for 1.70 which has a 64-bit download.
This page provides a link to download the Insiders version, for use with 32-bit. But that version doesn't support Windows 7.
Where can I find such a version of VS Code?
The vscodium project still releases builds for many officially unsupported platforms formerly or never supported by vscode.
You can grab a release from here:
https://github.com/VSCodium/vscodium/releases
Here:
https://update.code.visualstudio.com/1.70.2/win32/stable (System installer)
https://update.code.visualstudio.com/1.70.2/win32-user/stable (User installer)
Taken from https://code.visualstudio.com/updates/v1_70 and https://code.visualstudio.com/docs/supporting/faq#_previous-release-versions.
Though for some reason these don't work on my computer (Code.exe starts by dies after a bit). Who knows why...
Then there's a video downloading 1.50 and comments saying thank you, so I guess it worked (I didn't try because...) - very old version though. Not sure why 1.70 doesn't work on me, but anyway, according to Microsoft, it's the last one working on Windows 7, and here are the 2 links for its 32-bit Windows version. Hopefully it works for you and anyone else. This is a 2006 Pentium M DDR RAM PC anyway.
Also, there is a ZIP somewhere for 1.70.3, but I only found the 64-bit version.

How do I install gdb on a Macbook M1 to use it in Eclipse?

I am quite new to the programming world and am trying to learn some coding on Eclipse by following a guided self-study book.
For the course I should use Eclipse with gdb for debugging. Unfortunately I cannot get gdb working; I managed to follow the steps in this file (https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html) and everything worked, excpet for gdb to relaunch after quitting. So now I am quite clueless about how to proceed?
I also tried installing it via Homebrew, but when executing
brew install gdb
I get the message
gdb: The x86_64 architecture is required for this software. Error: gdb: An unsatisfied requirement failed this build.
I know that there are issues with gdb on Mac with M1 chip, but is there any way to resolve this? My computer knowledge isn't very good as for know, so I probably need quite a step-by-step guidance.
Thank you very much in advance!
GDB has not been ported to MacOS for the M1 (AArch64) architecture. The lldb debugger is available for MacOS on M1, you could consider using that debugger.

Matlab 2014b and mex files, has anyone been able to use Visual Studio Express?

I know that Visual Studio Pro will allow you to compile mex files for MATLAB 2014b.
However I was wondering if anyone was able to use Visual Studio Express (which is free, as opposed to Pro which is not) to compile mex files? I tried the Windows SDK (recommended by mathworks), with no success.
Update: This is the error I get:
A problem occurred while installing selected Windows SDK components. Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm
Only I can't find that file.
Details:
Windows 7
MATLAB 2014b
Things I Did So Far:
SDK 7.1, I tried installing this not sure if it did not install correctly or was not actually a solution (from here: http://www.mathworks.com/support/compilers/R2014b/index.html)
Download the 30 day trial of Visual Studio Pro which is working
Yes. I used to use that exact combination if I recall. Make sure you get the right version of it though. Share the actual problem and maybe we can work around it.
This is another common issue with the Windows SDK 7.1 where it won't install if you have a newer Visual Studio 2010 runtime than version 10.0.30319, which is what it tries to install (you would think they would update the SDK installer!). You have to remove them before installing the SDK:
MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}
Then the SDK will install and you can reinstall the latest 2010 runtimes.
There is an identical issue with the old DirectX SDK (June 2010) and the solution is much the same.

cx_freeze on MAC 10.9 Python 2.7.6 (32/64 bit)

I have developed an app on a Window PC using Python and wxPython. For the several weeks I have been trying to migrate it to a MAC mini running 10.9, Python 2.7.6 (32/64 bit) using the Eclipse IDE with PyDev. I was NOT a MAC user prior to about three weeks ago when I purchased a used Mac mini and started working on it. Due to the fact that wxPython is a 32-bit library only I am running Python in 32-bit mode out of Eclipse - this has worked well until now I am ready to attempt and produce a stand alone app via cx_freeze and I am hitting a problem that cx_freeze is building the bundle using the 64-bit Python and it will not work with my 32-bit wx_Python library.
My question is what can I do at this point in time? Obviously, if I had been smart I would have installed the 32-bit ONLY version of Python 2.7.6 (hind sight you know), but I did not. I have gone through all the write to /Library/Preferences/com.apple.python.preference file and setting environment variables only to learn that that does not apply except to Apple installs. One solution would be to install the 32-bit ONLY Python - scared I will mess my current development environment up so that is why I am asking here for help. Also, there may be a setting in cx_freeze to accomplish this too. Any help to a "green horn" MAC person would be greatly appreciated.