flat assembler
Message board for the users of flat assembler.

Index > Linux > compile flat itself

Author
Thread Post new topic Reply to topic
gfleury



Joined: 24 Dec 2018
Posts: 4
gfleury 24 Dec 2018, 06:08
hi all,

how to compile flat itself?
i don't see this in the documentation!
Post 24 Dec 2018, 06:08
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20517
Location: In your JS exploiting you and your system
revolution 24 Dec 2018, 06:49
You will ned a working executable to assemble the executable. Yeah, I know, chicken-and-egg thing.

When you download fasm it has in the archive file an executable and the sources. So you can use the executable to compile a new executable file from the sources. And aside from a few changes where the date/time is newer the two executables should be byte-for-byte the same.
Post 24 Dec 2018, 06:49
View user's profile Send private message Visit poster's website Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 763
guignol 24 Dec 2018, 11:15
byte-for-byte?

Anyway, it reminds on the Operating Systems..
The answer is most obvious:it has to be self-evident from multiple perspectives.
(otherwise, it's only some operating turdware)
Post 24 Dec 2018, 11:15
View user's profile Send private message Reply with quote
gfleury



Joined: 24 Dec 2018
Posts: 4
gfleury 24 Dec 2018, 12:13
Thanks!

But how?
It seems that the source code doesn't have a makefile!
It will be easy to compile if so.
Post 24 Dec 2018, 12:13
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 24 Dec 2018, 12:39
Download the FASM for Linux package. Unpack it somewhere. Enter in the directory "source/Linux/" and run in console:
Code:
../../fasm ./fasm.asm
    


The same way you can compile the versions for Windows - only enter the "source/Win32/" directory instead of "source/Linux/".


Last edited by JohnFound on 24 Dec 2018, 16:31; edited 1 time in total
Post 24 Dec 2018, 12:39
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20517
Location: In your JS exploiting you and your system
revolution 24 Dec 2018, 13:21
gfleury wrote:
It seems that the source code doesn't have a makefile!
It will be easy to compile if so.
It isn't C code, there is no makefile. And actually it assembles, it doesn't really compile (although I think a lot of people conflate the two). See JohnFound's post above. Just run the executable from the download.
Post 24 Dec 2018, 13:21
View user's profile Send private message Visit poster's website Reply with quote
gfleury



Joined: 24 Dec 2018
Posts: 4
gfleury 24 Dec 2018, 14:21
Thanks a lot,

This help me!
Post 24 Dec 2018, 14:21
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.