flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
TmX
I used fasm-1.73.27.tar.gz as starting point.
First, built objconv found at here Then grab FASM. Convert the object file: Code: ./objconv -fmacho -nu fasm.o fasm.obj Quote: Input file: fasm.o, output file: fasm.obj Last part: link with gcc Code:
gcc fasm.obj -o fasm I got this: Quote:
For those who are not familiar with MacOS: Quote: starting with macOS Catalina, 32-bit apps are no longer compatible with macOS Any help? |
|||
![]() |
|
revolution
You can make a 64-bit compatible binary here:
https://board.flatassembler.net/topic.php?t=19593 |
|||
![]() |
|
Tomasz Grysztar
If you start with fasmg (which comes with a 64-bit Mach-O executable in the official package), you might be able to use its Mach-O formatter and make fasm.x64 in Mach-O format instead of ELF (similarly to what jacobly did for fasmg).
|
|||
![]() |
|
TmX
Tomasz Grysztar wrote: If you start with fasmg (which comes with a 64-bit Mach-O executable in the official package), you might be able to use its Mach-O formatter and make fasm.x64 in Mach-O format instead of ELF (similarly to what jacobly did for fasmg). Sorry for very late reply. OK, just noticed there's fasmg for 64-bit MacOS Next step, I assume, is to modify Linux fasm's code and then assemble it with fasmg? |
|||
![]() |
|
ford
Tomasz Grysztar wrote: If you start with fasmg (which comes with a 64-bit Mach-O executable in the official package), you might be able to use its Mach-O formatter and make fasm.x64 in Mach-O format instead of ELF (similarly to what jacobly did for fasmg). Would there be any hope for FASM on M1 without Rosetta2? _________________ Everything is absurd. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.