flat assembler
Message board for the users of flat assembler.

Index > Linux > How do I use fasm on linux ubuntu

Author
Thread Post new topic Reply to topic
andrewjrmill



Joined: 20 Jul 2009
Posts: 5
andrewjrmill
Hi, everyone , Im using Linux now and I want to know how to use fasm in linux ubuntu I have tyred this. And I don’t know what to do from there please help thanks. And I want to edit some files how do i do that on the terminal.

Code:
andrea@millspaughdixon:~$ cd /home/andrea/Downloads/fasm
andrea@millspaughdixon:~/Downloads/fasm$ ./fasm
flat assembler  version 1.70.03
usage: fasm <source> [output]
optional settings:
 -m <limit>    set the limit in kilobytes for the available memory
 -p <limit>    set the maximum allowed number of passes
 -s <file>     dump symbolic information for debugging
andrea@millspaughdixon:~/Downloads/fasm$    
Post 25 Nov 2012, 17:57
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
It depends of what you want to do with FASM... Are you sure you know what FASM is?
Post 25 Nov 2012, 18:49
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1154
ManOfSteel
andrewjrmill wrote:
I don’t know what to do from there

Go to the examples/elfexe directory and assemble the obligatory "Hello, World!": fasm hello.asm.

andrewjrmill wrote:
And I want to edit some files how do i do that on the terminal.

vi hello.asm, what else? Cool
Post 25 Nov 2012, 20:02
View user's profile Send private message Reply with quote
andrewjrmill



Joined: 20 Jul 2009
Posts: 5
andrewjrmill
Yes I know what fasm is iv used it for a long time but only on windows not linux that’s way I was asking how to edit files, because in windows you have a fasm gui linux version dose not, in less there’s on around somewhere, but thanks for your help, I will try opening the Hello World example now, if i have any more questing I will post here thanks
Post 26 Nov 2012, 00:38
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
I remembed Tomasz mentioned 'fasmx', the FASM GUI for Linux:
http://board.flatassembler.net/topic.php?t=6462&start=20

My guess is it's still unfinished Wink
Post 26 Nov 2012, 01:51
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
andrewjrmill wrote:
... that’s way I was asking how to edit files, because in windows you have a fasm gui linux version dose not...


There are many text editors in Linux. You probably have more than one in your Linux distribution. gedit for example. But if you are familiar with FASMW you can use it in Linux through Wine.

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 26 Nov 2012, 04:37
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
andrewjrmill



Joined: 20 Jul 2009
Posts: 5
andrewjrmill
ok thanks everyone for your help.
Post 27 Nov 2012, 16:16
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
mindcooler



Joined: 01 Dec 2009
Posts: 423
Location: Västerås, Sweden
mindcooler
I've searched high and low, and I haven't found any editor with the fasmw/delphi/turbo pascal feel.
Post 29 Nov 2012, 04:55
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
mindcooler wrote:
I've searched high and low, and I haven't found any editor with the fasmw/delphi/turbo pascal feel.


Indeed. That is why I am writing FreshEdit.
But the work goes slow... Sad

edit by revolution: fixed link markup

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 29 Nov 2012, 05:59
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Necromancer's DOS Navigator has a Linux port, so you could use that. The FASM IDE was heavily inspired by DOS Navigator. (Or just use FASMD under DOSEMU, but I doubt you want to do that.)
Post 09 Dec 2012, 20:34
View user's profile Send private message Visit poster's website Reply with quote
mindcooler



Joined: 01 Dec 2009
Posts: 423
Location: Västerås, Sweden
mindcooler
I'll check it out!

I guess you could do cross-compiling too. Might be the best solution.
Post 09 Dec 2012, 21:18
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
Geany is nice if you're looking for a "click a button and see what happens" UI element. It has a configurable build/execute button that you can configure to run arbitrary commands. But to use fasm from the normal command line, you need to install it. The canonical way to install programs that aren't managed by the package manager is to put them in /usr/local/bin. To do that, run "sudo cp [fasm] /usr/local/bin" where [fasm] should be replaced by where fasm is, without the [].
Post 30 Dec 2012, 03:43
View user's profile Send private message Reply with quote
ASM-Man



Joined: 11 Jan 2013
Posts: 65
ASM-Man
andrewjrmill wrote:
I want to edit some files how do i do that on the terminal.


What about
Code:
emacs -nw foo.asm    
? Very Happy or just:
Code:
emacs foo.asm    
if don't have emacs-x. Also,if don't have emacs installed on your system by default,it's easy to get:

Code:
apt-get emacs    
(needs be root)

If your repositories don't provide emacs, jmpto http://www.gnu.org/software/emacs/ and download from FTP site and compiler yourself. It's easy. There is some documentation,if you need.
Post 15 Jan 2013, 06:16
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-2020, Tomasz Grysztar.

Powered by rwasa.