flat assembler
Message board for the users of flat assembler.

Index > Linux > fasm-1.67.26 incomplete code for Linux

Author
Thread Post new topic Reply to topic
bdsatish



Joined: 07 Mar 2008
Posts: 10
bdsatish 11 Mar 2008, 05:19
I downloaded fasm-1.67.26.tgz for Linux. It contains only the "source" and "examples" directories. But where are the macros ? I wanted to use "proc32.inc" and "if.inc" (available in the windows version) in Linux too. But these macros are missing.

I think that TG is neglecting the Linux version. Not correct...
Post 11 Mar 2008, 05:19
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 11 Mar 2008, 05:34
All the versions of source code are the same anyway. It is only the executable that is different. Just download the windows package and use the macros from there.
Post 11 Mar 2008, 05:34
View user's profile Send private message Visit poster's website Reply with quote
bdsatish



Joined: 07 Mar 2008
Posts: 10
bdsatish 11 Mar 2008, 09:16
Well, since I already used FASM under windows, I'll use the macros from there, anyways. But what about a newbie who wants to use FASM only on Linux, without having come across FASM for windows ?

I still can't believe that FASM is so much Windows-oriented. Why don't we have an IDE for Linux ? FASMW.EXE is a part of standard distribution for Windows; but there is no IDE with Linux. I'm forced to use some third party IDEs. Are Linux-FASM users so under-developed that they can't develop an IDE?
Post 11 Mar 2008, 09:16
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 11 Mar 2008, 09:21
bdsatish wrote:
Are Linux-FASM users so under-developed that they can't develop an IDE?
I am sure that everyone would appreciate an IDE for LINUX. You could start a project to make one.
Post 11 Mar 2008, 09:21
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 11 Mar 2008, 11:35
The FASMX was planned as next after FASMD, but so far I have never got into starting it.
It might be easier to make a console port of FASMD, though.
Post 11 Mar 2008, 11:35
View user's profile Send private message Visit poster's website Reply with quote
bdsatish



Joined: 07 Mar 2008
Posts: 10
bdsatish 11 Mar 2008, 11:44
@revolution:
Quote:
You could start a project to make one.

Unfortunately, I'm still a beginner to both Linux & FASM. I've been using MASM all along. I will actively participate if such a project for IDE comes up.

@TG:
Quote:
It might be easier to make a console port of FASMD, though.
Yes, plz. I agree. I/we need it.
Post 11 Mar 2008, 11:44
View user's profile Send private message Reply with quote
Patrick_



Joined: 11 Mar 2006
Posts: 53
Location: 127.0.0.1
Patrick_ 20 Mar 2008, 23:54
I disagree. There are _so_ many editors for *nix, we don't need another one.

Let's face it. FASMW is very, very simple. The best for editing FASM code, but simple.

Most editors allow for custom highlighters. Copy one from your favorite (nano, vim, gedit, etc), and make all of the commas and periods and colons blue, numerics green, etc. There you go! I like using nano... but you choose.
Post 20 Mar 2008, 23:54
View user's profile Send private message Reply with quote
sakeniwefu



Joined: 23 Mar 2008
Posts: 29
sakeniwefu 24 Mar 2008, 14:10
Patrick_ wrote:
I disagree. There are _so_ many editors for *nix, we don't need another one.

Then why windows coders keep using FASMW? There are even more code editors for Windows than for UNIX. We use FASMW because it is integrated, simple, fast, and clean. I for one would use FASMX. Hope there's some LibC version too.

_________________
Warning: C code found, deleting.
Post 24 Mar 2008, 14:10
View user's profile Send private message Reply with quote
DustWolf



Joined: 26 Jan 2006
Posts: 373
Location: Ljubljana, Slovenia
DustWolf 22 Apr 2008, 21:29
IMHO making a VIM syntax file for FASM would be all one really needs. May make one too.
Post 22 Apr 2008, 21:29
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 23 Apr 2008, 20:11
VIM71RT.ZIP wrote:

-rw-r--r-- 2.3 unx 8809 t- defX 12-May-07 14:10 vim/vim71/syntax/fasm.vim
Post 23 Apr 2008, 20:11
View user's profile Send private message Visit poster's website Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 841
Location: Jakarta, Indonesia
TmX 24 Apr 2008, 07:06
DustWolf wrote:
IMHO making a VIM syntax file for FASM would be all one really needs. May make one too.


There's already one. Try this :

Code:
:set ft=fasm    


Wink
Post 24 Apr 2008, 07:06
View user's profile Send private message Reply with quote
gunblade



Joined: 19 Feb 2004
Posts: 209
gunblade 24 Apr 2008, 17:58
TmX wrote:

There's already one. Try this :

Code:
:set ft=fasm    


Wink


Nice! I didn't expect vim to have fasm syntax, just been using asm.vim syntax all this time, that syntax is getting set as my default *.asm handler, thanks TmX. Smile

Also, In case someone is having some kind of vote on "who wants a linux IDE", I dont see a need for it. Theres plenty of editors that do the job nicely, vim being one, with normal asm highlighting, (or even fasm-specific highlighting (im still shocked its been sitting there all this time and i havent used it!)). I'm sure there's an audience for a linux fasm IDE, but personally anyway, I prefer to stick to one editor for all my editing work in multiple languages, especially when that editor has a lot of useful commands, that can be a bit of a struggle to learn, but when you know them, they are very useful, when doing any kind of editing work. using another IDE would mean losing those commands, (and perhaps having to learn more).

Not to say a linux ide shouldnt be built, if someone wants to, it's up to them, but I think the audience will be smaller than for the windows fasm ide.
Post 24 Apr 2008, 17:58
View user's profile Send private message Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22 06 May 2008, 16:55
I think its the "Compile" and "Run" features of the IDE more than any syntax editing that beginners would prefer. It's the configuration that beginners don't care for. An "out of the box" solution seems to be something the Linux developer base is just recently grasping.

But hey Linux users LOVE typing in the command line, so who am I to judge Very Happy

Scenario 1: First Time Windows User
Install Windows [DONE]
Download/Unzip FASMW [DONE click click click]
Use FASMW [Get that annoying INCLUDE error]
Fix the INCLUDE environment variable everything works [DONE]

Scenario 2: First Time Linux User
Install Linux [DONE]
Download/Unpack FASM [DONE]
Boggle at no IDE [VIM? what, :SET FT=FASM? what]
Boggle at how to link [GCC? huh where's Compile and Run?!]
Download the windows package to get the macros [DONE]
Ask FASM community why it was such a hassle to get Hello LibC working [DONE Razz]

Scenario 1 is almost totally "noob" accessible, while Scenario 2 requires a lot more prior knowledge/RTFM/scavenging the boards.
Post 06 May 2008, 16:55
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 06 May 2008, 17:07
I don't see Linux as being an OS for newbies[1], but many of the existing Linux users would probably be okay with it.

[1]This is one of the major failings of Linux, the assumption by many developers that the users 'know' how to operate a command prompt. And for this reason, many average Joe's will never consider Linux as a possible platform for them to use daily. That is why I say Linux is not an OS for newbies, unless that newbie is very keen and willing to undergo a lot of pain to get an understanding of how it works.
Post 06 May 2008, 17:07
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.