flat assembler
Message board for the users of flat assembler.

Index > Main > How to compile Fasm from source

Author
Thread Post new topic Reply to topic
yfasm



Joined: 25 Jun 2004
Posts: 3
yfasm
Hi All,
I'm new here and also a new fasm user. For starting, I want to build my fasm from source.
Any idea?
Regards,
Younès
Post 25 Jun 2004, 17:36
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
maybe
fasm SOURCE\WIN32\fasm.asm SOURCE\WIN32\fasm.exe
could work? (I am not sure what you want)
Post 25 Jun 2004, 20:30
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
gorshing



Joined: 27 Jul 2003
Posts: 72
Location: Okla, US
gorshing
Are you wanting to create the fasm executable or an executable from your own code?

_________________
gorshing
Post 25 Jun 2004, 21:06
View user's profile Send private message Visit poster's website Reply with quote
yfasm



Joined: 25 Jun 2004
Posts: 3
yfasm
I want to create the fasm assembler from scratch (source).
I think that:
$ fasm fasm.asm fasm
works fine.
But is there any compilation options to get an optimized fasm (like -O3 ...)?
Thanks
Younès
Post 25 Jun 2004, 22:42
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
there aren't any such options. Only option FASM takes is size of memory to allocate, and it isn't needed unless you needto compile large sources. Fasm is very straightforward and all characteristics of generated file are set in right in source. btw, all possible instruction optimizations are done automatically (jump size, choosing shorter instruction opcode etc.), and rest can be acheived by macros.

What other compilation options would you want?
Post 26 Jun 2004, 07:09
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv
Nay it is not like you are compiling a C code or soemthing like that.
Post 26 Jun 2004, 09:35
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
yfasm



Joined: 25 Jun 2004
Posts: 3
yfasm
Thank you. I understand now. I'll hope that learning fasm is not to hard ...
Regards,
Younès
Post 26 Jun 2004, 13:14
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
if you can code any assembler then no, you just have to read FASM's documentation (except part describing instructions)
Post 26 Jun 2004, 14:49
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.