flat assembler
Message board for the users of flat assembler.
Index
> Linux > Question for Tomasz |
Author |
|
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
|
|||
07 Sep 2006, 10:20 |
|
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). |
|||
07 Sep 2006, 20:06 |
|
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. |
|||
07 Sep 2006, 20:45 |
|
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! |
|||
07 Sep 2006, 21:17 |
|
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. |
|||
07 Sep 2006, 21:40 |
|
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. |
|||
07 Sep 2006, 22:05 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.