flat assembler
Message board for the users of flat assembler.

Index > Unix > Please put mach-O format support in fasm

Author
Thread Post new topic Reply to topic
tthsqe



Joined: 20 May 2009
Posts: 767
tthsqe 08 Aug 2016, 19:58
Subject says it all.
Post 08 Aug 2016, 19:58
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 09 Aug 2016, 03:11
Moving this to "Unix" so it can play with all the other Mach-O threads.

BTW: Check out the sticky-ed thread in this forum to find some working code.


Last edited by revolution on 09 Aug 2016, 13:42; edited 1 time in total
Post 09 Aug 2016, 03:11
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 09 Aug 2016, 13:41
Actually, it seems now that I may sooner write a Mach-O formatting macros for fasmg than the formatter for fasm. Looking at the ELF formatting macros that I already have, I think that doing the same for other similar object formats should be really easy. Though I still don't have any place where I could test Mach-O files (I guess these machines are not as popular in my country).
Post 09 Aug 2016, 13:41
View user's profile Send private message Visit poster's website Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 767
tthsqe 09 Aug 2016, 17:47
If I have a large macro-laden project written for the original fasm, will it assemble without issue in fasmg?
Post 09 Aug 2016, 17:47
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 09 Aug 2016, 18:09
tthsqe wrote:
If I have a large macro-laden project written for the original fasm, will it assemble without issue in fasmg?
No. You will have to edit the macros. fasmg is very different from fasm.
Post 09 Aug 2016, 18:09
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 09 Aug 2016, 18:47
revolution wrote:
tthsqe wrote:
If I have a large macro-laden project written for the original fasm, will it assemble without issue in fasmg?
No. You will have to edit the macros. fasmg is very different from fasm.
Still, I was able to make HeavyThing project assemble with fasmg after relatively little changes. In some aspects it even got improved, since fasmg allowed the "globals" macro to respect "if used" blocks.
Post 09 Aug 2016, 18:47
View user's profile Send private message Visit poster's website Reply with quote
redsock



Joined: 09 Oct 2009
Posts: 430
Location: Australia
redsock 09 Aug 2016, 20:53
Tomasz Grysztar wrote:
Though I still don't have any place where I could test Mach-O files (I guess these machines are not as popular in my country).
If you are seriously interested, I could probably get an OS X virtual machine running next to the board for a while if you needed. (After of course I finish my current todolist)

_________________
2 Ton Digital - https://2ton.com.au/
Post 09 Aug 2016, 20:53
View user's profile Send private message 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


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.