flat assembler
Message board for the users of flat assembler.

Index > Linux > Question for Tomasz

Author
Thread Post new topic Reply to topic
noob



Joined: 04 Sep 2006
Posts: 8
noob 07 Sep 2006, 09:49
I read some previous threads that talked about a tutorial that would be written with a target audience of beginner that worked up to advanced fasm topics. Please can you advise how far away this tutorial is for the Linux platform ?

thanks
Post 07 Sep 2006, 09:49
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 07 Sep 2006, 10:20
starting to learn ASM programming on linux is somewhat hard... mainly because almost nobody codes asm on linux, there is too weak support. just try to assemble some linux examples, and then try to alter them to do something else
Post 07 Sep 2006, 10:20
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
lsa



Joined: 10 Aug 2006
Posts: 17
Location: Denmark
lsa 07 Sep 2006, 20:06
A little offtopic but i really think its much easier to learn
ASM on linux, compared to WIN32. I had done a little
ASM on 16b dos, then i tried win32.
While i did get results (colour windows and other modern applications) using win32 i never understood all the
libraries and calling conventions used.
On linux it took some time to compile the first program, but
from there everything were simple..So beginners just need to
use 1-3 days to compile and understand the first program..Then they know everything they need (almost).
Post 07 Sep 2006, 20:06
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 07 Sep 2006, 20:45
lsa, do you find harder GUI on Windows than Linux?

For DOS assembly programmers it could be easy to go to Linux since the interface to the kernel remains the same (using INT), but if you want to do a GUI app I think that Linux is worst, especially because you can't make an ELF executable directly.
Post 07 Sep 2006, 20:45
View user's profile Send private message Reply with quote
Thaorius



Joined: 27 Jul 2006
Posts: 42
Thaorius 07 Sep 2006, 21:17
What you mean with this?:
Quote:
you can't make an ELF executable directly.


Fasm allow this task by adding format elf directive.

Bye!
Post 07 Sep 2006, 21:17
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 07 Sep 2006, 21:40
locodelassembly wrote:
but if you want to do a GUI app I think that Linux is worst, especially because you can't make an ELF executable directly.


Do you know how to do that without using a linker and coding easier than Windows?

All the examples I saw uses "format ELF" instead of "format ELF executable" which means that you need a linker because "format ELF" outputs an object file.
Post 07 Sep 2006, 21:40
View user's profile Send private message Reply with quote
gunblade



Joined: 19 Feb 2004
Posts: 209
gunblade 07 Sep 2006, 22:05
They are right Thaorius, you CAN make an ELF executable directly, but only if you dont require any external libraries.
If you want to use external libraries (which you have to if you want GUI.. (WELL... you dont really have to, you could interface with the X Server directly.. but you seriously dont want to do that.. i tried)), you need to assemble as an ELF object then link it to the shared/static libraries.

But coding on linux isnt so hard. Even for GUI, its not hard, it just requires you to use gcc/ld to link your program with X11/GL/QT/GTK or which ever one you wish to use.
Post 07 Sep 2006, 22:05
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.