Compiler suggestions for Puppy?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
fixit

Compiler suggestions for Puppy?

#1 Post by fixit »

I am interested in programming in Linux.

My background includes C and 32 bit assembly.

Would prefer a GUI.

Thanks.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

A GUI similar to what?

fixit

#3 Post by fixit »

Here is what I use for assembly programming.

Andy
Attachments
GUI.PNG
(81.24 KiB) Downloaded 728 times

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

There ya go.. You've made your post ten times more accessible. It's about make'n your request easy to reply to..

fixit

#5 Post by fixit »

Semme wrote:There ya go.. You've made your post ten times more accessible. It's about make'n your request easy to reply to..
Do you mean understandable instead of accessible ?

Andy

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#6 Post by amigo »

Is that windows 3.11?

fixit

#7 Post by fixit »

amigo wrote:Is that windows 3.11?
Windows XP SP3

Andy

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#8 Post by Semme »

Have you tried this under Wine?

fixit

#9 Post by fixit »

It creates 16 bit code.

Will 16 bit code run under Puppy ?

Andy

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

Under Wine, I'm not sure.

User avatar
scabz
Posts: 364
Joined: Thu 30 Apr 2009, 18:14
Location: Tallahassee FL US
Contact:

#11 Post by scabz »

maybe https://netbeans.org/
but i really dont know, never looked for one.

Whats wrong with this gui lol JK
Image

fixit

#12 Post by fixit »

Nothing wrong with it, but it is a console program.

Graphical User Interface.
_

Andy

But I may write some scripts to automate gcc.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#13 Post by jamesbond »

I don't know what exactly you're asking, since you're comparing it with MASM32. MASM32 is package that contains both an assembler and an IDE.

If you're asking for IDE, you can use geany that comes wth puppy. Geany can be configured to automatically compile and build stuff. If Geany is too lightweight for you, you can try Eclipse for C++ (warning: java required). It's just a choice amongst many.

If you're asking about the assembler, gcc comes with gas (GNU assembler, invoked as "as"). If you don't like gas (its format is a bit weird from those who comes from MASM world), you can use "nasm" or "yasm", or even "fasm".

If you're asking about GUI design tools, it depends on which toolkit you want to use.

If you're happy with GTK, you can use Glade GUI designer; this will output an XML file which you can load using GTK run-time and connect to its events (so you can handle button clicks etc) either from many languages: the default is C, but you can have it from shell (gtk-server) or from python (python-gtk) and many other gtk bindings.

If you like Qt, then get some of the Qt SFS and you can do roughly the same thing - but it is mainly C++.

Some people swear by wxWindows because it is cross-platform; it is also C++.

If you just want to build GUI program and doesn't really care about GUI/code separation, then the standard tool for puppy is gtkdialog. It uses "shell" as the programming language.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#14 Post by technosaurus »

geany (already included) can do all of this, but for whatever reason no-one ever bothered to pre-configure it to compile using the toolbar buttons (it has a gui to change it though).

gcc can compile assembly files if you name them with a .s suffix
gcc -o myprogram main.s

I would recommend checking with the geany users mailing list to get recommendations (same goes for JAVA and the multiple other languages that it supports )... I am pretty sure Micko would be willing to incorporate any improvements to the standard config if someone put a nice one together.

BTW there a ton of nice plugins for geany that make it a good contender to much heavier IDEs like anjuta, eclipse and netbeans.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#15 Post by partsman »

technosaurus wrote:BTW there a ton of nice plugins for geany that make it a good contender to much heavier IDEs like anjuta, eclipse and netbeans.
Hi technosaurus :D
Could you give some more info on the plugins and geany it would be greatly appreciated as I am just starting out teaching myself c++
Thanks in advance :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#16 Post by technosaurus »

http://www.geany.org/Support/Plugins

But the better hint is to make sure your terminal is set up to run without closing (some puppy versions have issues with that)
Edit->Preferences->Tools->Terminal ... (I forget the exact command)

and then setup your build commands:
Build->Set Build Commands
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#17 Post by partsman »

Thanks for the info technosaurus :D
You are definitely the man when it comes to coding from what I hear ! :wink: And just let me say thanks for all you do for the puppy cause :wink: 8)
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

Post Reply