flat assembler
Message board for the users of flat assembler.

Index > Linux > 1st linux program

Author
Thread Post new topic Reply to topic
Fixit



Joined: 22 Nov 2012
Posts: 161
Fixit
I made my first program with FASM using FreshIDE.

I put it in the root directory but when I ran it, it said no such command.

Is it run differently than Windows ?

Thanks
Post 21 Mar 2013, 18:57
View user's profile Send private message Reply with quote
TightCoderEx



Joined: 14 Feb 2013
Posts: 58
Location: Alberta
TightCoderEx
The root directory probably isn't in your $PATH. Leave it in the same directory you developed it in and pretend with ./AppName or because it's already in the root just use /AppName
Post 21 Mar 2013, 19:29
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Fixit wrote:
I made my first program with FASM using FreshIDE.

I put it in the root directory but when I ran it, it said no such command.

Is it run differently than Windows ?

Thanks

You need to right click the program and than click properties, them permissions and then click Allow executing.
And then do the ./filename as TightCoderEx said.
Post 22 Mar 2013, 08:15
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. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.