-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any interest in OS X builds? #57
Comments
Hello! |
What about a homebrew formula? |
@assp1r1n3 so far, creating a homebrew formula falls apart right around here https://sourceware.org/gdb/wiki/BuildingOnDarwin#Giving_gdb_permission_to_control_other_processes%7Cofficial |
@Dman95 Hey I was just following along that guide and hit an error on step 6
Normally I'm pretty familiar with unix permissions and would just be able to solve this, but OS X is a totally different story, I'm still in my first year using Macs and I have a lot to learn about the subtle differences between Darwin and Linux. If you've got any ideas or know who might, that would be awesome! |
May be you should change the format from "-f elf32" to "-f elf" on the "Build" tab in the settings to avoid error messages. As for saving with an exe extension, it is just universal extension for an executable, which will work with all systems. The internal format of a saved file will differ for each system and will be correct. |
Hey @Dman95 thanks for getting back! I'm still getting this error and I'm not getting any object file output. My current solution for development, by the way, is that I'm using Vagrant to spin up a Gentoo VM and using the cross-compilers and everything available there. |
@zenware Try to change linking options in the "Settings->Build->Linking options" from "$PROGRAM.OBJ$ |
Do you have a release build you can share? |
@MatthewFrench No, I don't. Because I don't have a Mac. But there is one link about running SASM on Mac: http://www.brianrhall.net/rss/installingsasmonamac |
I have a mac build for SASM: sasm.app.zip It's only working with sudo: sudo /Applications/sasm.app/Contents/MacOS/sasm The following Assembly options work for me: -g -f macho64 I haven't tried to build the new version of SAMS, but with the upgrade to macOS Sierra the debugging stopped working because of gdb... |
Ok, now I have a working build from version 3.6.0: gdb is working, too. You have to install it and then sign it with a certificate. But sudo is still required.... @Dman95 I have changed the code in the debugger.cpp because on mac you have to disable the shell startup in gdb first: "set startup-with-shell off" (Before running "disas main"). It's only a quick and dirty solution, so I don't post the code here. |
Hey, what about integrating Travis county into your project? This ci On 21 Oct 2016 5:46 p.m., "sfischer123" [email protected] wrote:
|
I built 3.8.0 from source. It's working fine. |
I just tried the 3.8 pre-build package for Mac
So I guess I have to install Qt first
are you able to compile a MASM file? I'm trying to convert dec64 to NASM, C or JavaScript. Any help would be greatly appreciated!! |
I installed Qt for Mac (minimal install) and set the Path. What am I missing? |
You have to copy some files manually in the Library directory. I don't remember which ones, but you can see the missing files in the error message in the terminal. |
I've been looking around for an ASM environment but I think I'll end up just using vim still. I could build and provide releases for this project on OS X however (assuming it actually does build and function on OS X).
The text was updated successfully, but these errors were encountered: