flat assembler
Message board for the users of flat assembler.

Index > Linux > Getting into Linux ASM

Author
Thread Post new topic Reply to topic
denial



Joined: 12 Sep 2004
Posts: 98
denial 06 Jun 2005, 14:05
Hello,

after six years of hl-programing under Windows, and a little bit asm experience Wink , I decided to install Linux as second OS on my system. My aim is to learn how to use FASM under Linux, but as I only used this OS for maybe 5 times in my life, I wanted to ask about good information sources about the OS in general.

Further I wanted to ask, how to start programing FASM under Linux. I'm pretty confused how to do GUI stuff, as there seem to be alot of GUIs for Linux out there. Is there a standardized one I can use on every Linux? My Linux seems to run under "KDE"...

I already saw the "GTK samples" on the FASM site, but I can't get them to run. Strange.

Thank you for any help.
Regards...
Post 06 Jun 2005, 14:05
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 06 Jun 2005, 14:33
Hi, i do not program in linux with fasm, (i would like to learn one day), but have you tryed emailing the writer of the code:
bazik@win32asmcommunity.net
Also have you done this:
Quote:
The first thing to do, of course, is download the GTK source and install it.
Try here: http://gtkmm.sourceforge.net/
Also is it not for GNOME ?.
Post 06 Jun 2005, 14:33
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 06 Jun 2005, 18:12
linuxassembly.org? I 've just heard of it...
Post 06 Jun 2005, 18:12
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Micah II



Joined: 04 Jun 2005
Posts: 5
Micah II 09 Jun 2005, 13:16
linuxassembly.org is quite limited and provides mainly GNU as sources, which are AT&T syntax. (fasm is Intel syntax)


and now to the GTK part Smile

there are two main window manager systems*, KDE and GNOME, both of them run on top of the X server, which provides the basic drawing functions for linux.
Most linux systems have the QT and GTK libraries installed on it, so it really doesnt matter which you choose, though GTK has a very nice tutorial in C, but it does explain quite well how it works.

KDE is based on Trolltech's QT, which is a C++ library that provides windowing functions and widgets to KDE , and any programs you may want to write for it.

GNOME (my favorite Smile is based on GTK which is a C toolkit also , like QT providing windows and widgets (i.e. buttons, scrollbars etc.)
GTK+ was originally made for the GIMP ( www.gimp.org ) but adapted so they could make GNOME on top of it.
Unlike QT, GTK is also available for windows!

Dex4u posted C++ bindings for GTK (GTKmm), since GTK itself is C.
These bindings have also been ported to FASM ( i think) so you can use those and link to the GTK library , so you'll have a functional program.

If you would like to learn more of Linux, before starting off with FASM on it, i suggest you look around a bit on http://www.tldp.org


I hope This helps you out a bit, and provides background info Smile
Sorry i cant help you out with the FASM part of your question, but I am only a beginner in asm myself .
Post 09 Jun 2005, 13:16
View user's profile Send private message Reply with quote
denial



Joined: 12 Sep 2004
Posts: 98
denial 09 Jun 2005, 13:41
@micah II: Thank you very much for your kind help. Smile
It explained alot.

@vid: Thank you too, but please get rid of ironical parts in your messages. Beginners may feel rather offended - and if you start with a complete new OS, a site like linuxassembly.org will not help you much, though. I looked of course into the Linux FAQ thread, and I knew about this site. So much for that. Please don't get it as bad critism, just a thought.
Post 09 Jun 2005, 13:41
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.