ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not trying to discourage you from your incline towards assembly, but why would you want to write a GUI app in ASM? You'd be there for ever and a day...unless you have countless number of libraries at your use.
It would be much easier to write a GUI app in C (using GTK+) with some inline assembly.
i dont know if one is better or not. i prefer gas because that is what i learned with. the good thing is that once you know one form, the other is easy to pick up.
>Can I use gas to write windows application?
do you mean a win32 app, or a gui app?
if you mean win32, i dont know.. if you mean gui app, then sure.. there is no reason you cant.
i cant tell by your post if you are just beginning in assembly or not, if you are there is a great book that is freely available.. "Programming from the Ground Up" by Jonathan Bartlett. its an excellent resource (using gas) and well worth the $20 on amazon. it is also available for free in e print.
i couldn't get gdb to work properly with nasm(probably because of my own stupidity,or impatience) so I went with gas coz god I like to see what is going on
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.