flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Unix > fasmg on MacOSX

Author
Thread Post new topic Reply to topic
jacobly



Joined: 04 Feb 2016
Posts: 15
fasmg on MacOSX
Someone asked for a mac version of fasmg, so I did pretty much the same thing that was done for fasm:

Code:

patch -p0 <macosx.patch
chmod +x ./fasmg
./fasmg source/libc/fasmg.asm fasmg.elf
objconv -fmacho32 -nu fasmg.elf fasmg.o
gcc -m32 -Wl,-no_pie fasmg.o -o fasmg



I also wrote a completely automated script for Travis CI.


Description: MacOSX executable and patch
Download
Filename: fasmg-macosx.zip
Filesize: 30.48 KB
Downloaded: 34 Time(s)

Post 27 Jul 2017, 02:23
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6518
Location: Kraków, Poland
Thank you for your help! I still plan to write the Mach-O macros for fasmg, then we could be able to skip the OBJCONV step, or even GCC altogether.
Post 27 Jul 2017, 09:28
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6518
Location: Kraków, Poland
The latest versions of fasmg package include a native port of fasmg to MacOS, based on the macros I wrote for the creation of Mach-O executables and objects.

I would be grateful for some tests and hopefully confirmation that this port works correctly on actual MacOS machines. If anyone has access to such computers, preferably with various versions of MacOS, please give it a try.
Post 29 Aug 2017, 12:13
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.