flat assembler
Message board for the users of flat assembler.

Index > Linux > to use fasm on Linux with makefiles

Author
Thread Post new topic Reply to topic
donn



Joined: 05 Mar 2010
Posts: 321
donn 07 Mar 2010, 17:47
Hi, haven't installed FASM yet, opened the download, didn't see a makefile or configure file, I dragged the .bin to /bin once, I'm not sure if that will make it executable. Had some problems with making with makefiles since then, gave some fasm errors. Want to start over that setup process of FASM, do I need to make a makefile? create certain directories? terminal said a FASM directory was missing. K, ok great,

Denat
Post 07 Mar 2010, 17:47
View user's profile Send private message Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak 08 Mar 2010, 00:50
makefiles are essentially bash scripts autorun when you type make and have "targets."

However, if you're trying to install fasm, use chmod +x, and then move it to /usr/bin/.
Post 08 Mar 2010, 00:50
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41 09 Mar 2010, 22:01
I just do this, first put the FASM assembler (not the folder) on the desktop
then just (from terminal (with FASM on desktop)):
Code:
cd /home/Your_user_name/Desktop/
sudo cp fasm /usr/bin/    


Now you can be in any directory and use
Code:
fasm example_file.asm    

_________________
Want hosting for free for your asm project? You can PM me. (*.fasm4u.net)
Post 09 Mar 2010, 22:01
View user's profile Send private message Visit poster's website 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.