| Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sat 28 May 2005, 11:57 Post subject:
The Puppy Gui tinycc project |
|
Jesse writes on the wiki
=========
a C based compiler and gui toolkit. I've written a minimal one for OpenGL so I know a bit about them.
I would seriously consider helping anyone who wanted to work on any of these projects. Let me know.
========
We have tinycc. Is there such a thing as a minimal open source GUI design kit for Linux - must be - I saw some minute and wonderful ones for Windows using assembler.
Who knows of such things?
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 465 Location: Auckland, NZ
|
Posted: Sun 29 May 2005, 07:46 Post subject:
|
|
Oh my gosh!
I just had a bit of an idea, typed it into google.... and there is such a thing as TinyGL (minimal OpenGL software only implementation) now I'm wondering if I could "plug" it into the old stuff I did...
Oh dear theres too many cool things that I want to work on... cool
Jesse
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 465 Location: Auckland, NZ
|
Posted: Sun 29 May 2005, 08:37 Post subject:
|
|
OMG! I compiled TinyGL with TCC on PuppyLinux (had to convert makefiles) but I got some animated graphics on the screen WayCool!, there seems to be a bug with color depth not quite being handled correctly, so colors are not as expected, but this looks very cool
Jesse
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 465 Location: Auckland, NZ
|
Posted: Sun 29 May 2005, 09:08 Post subject:
|
|
I figured it out, but have not bug fixed it yet, it only draws 16 bit graphics, even on 24 or 32 bit displays, so pixel boundarys overlap and you never see an intended colour on those displays...
here is a screenshot of "mech" running in puppy (16 bit display):
http://tinypic.com/5fitm0
this needs quite a bit of cosmetic work, but looks very promising
libTinyGL.a compiled to 135Kb, and the executable "mech" is 129Kb (staticly linked)
I'm thinking of calling in sick tomorrow...
Jesse
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6866 Location: Perth, Western Australia
|
Posted: Sun 29 May 2005, 11:27 Post subject:
|
|
That's fascinating!
The OpenGL libraries in Mandrake are libGL.so and libGLU.so (I think this second one is also part of OpenGL, not sure). Sizes are 460K and 556K stripped.
...um, yes, libGLU needs libGL. Dunno what the difference is between them.
|
|
Back to top
|
|
 |
PeterSieg
Joined: 04 May 2005 Posts: 361 Location: Germany, 37603
|
Posted: Mon 30 May 2005, 09:50 Post subject:
TinyGL |
|
Hi Jesse. Picture looks great! I saw that TinyGL is from the same guru as
TinyCC...
Could you please upload your tarball with your modifications, when 'done'?
Probably with some howto informations on which TinyCC version used and
what one has to watch out for...
Many Thanks,
PS
_________________ Have fun 
|
|
Back to top
|
|
 |
Jesse
Joined: 08 May 2005 Posts: 465 Location: Auckland, NZ
|
Posted: Mon 30 May 2005, 10:56 Post subject:
|
|
Ah, there are lots of pitfals awaiting your arrival.
First install puppy to a harddisk partition
compile TCC 0.9.22 from http://fabrice.bellard.free.fr/tcc/ on another linux like vector or mandrake
tar up the tcc dir, move it to puppy, untar it then install it.
Install utilities make,ar from your other distro (just copy from /bin to /bin)
copy over the /usr/include from your build system into puppy to /usr/local/include
also copy over the X11 include directory from build system to /usr/local/include/X11
extract tinyGL 0.4 from http://fabrice.bellard.free.fr/TinyGL/
extract my attached build scripts, run the one in the src dir then the one in the examples dir, and you will have a mech executable.
(that sould keep you fairly busy) its easy as a walk in the park
I've just discovered OpenGUI which might be what I'm after, its been in development for a few years, written in C++, not too bloated.
Jesse
|
|
Back to top
|
|
 |
Boukman
Joined: 31 May 2005 Posts: 1
|
Posted: Tue 31 May 2005, 00:22 Post subject:
FLTK |
|
Not sure if that's what you're looking for, but there is always FLTK.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6866 Location: Perth, Western Australia
|
Posted: Tue 31 May 2005, 09:48 Post subject:
|
|
I did create a Unleashed TCC awhile back, put in a selection of header files, don't recall exactly what, think it was basic C headers plus GTK1 headers.
PupGet can download it.
I can add more headers to it to improve it.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Fri 24 Jun 2005, 00:22 Post subject:
C Status? |
|
It says on the tcc site
http://fabrice.bellard.free.fr/tcc/
| Quote: | | * UNLIMITED! Any C dynamic library can be used directly. TCC is heading torward full ISOC99 compliance. TCC can of course compile itself. |
Does that mean if the libraries required in the header are placed on
Puppy Developers edition, we can compile Puppy several times faster than gcc on Vector Linux?
Now I know great interest was expressed in creating a GUI front end for tcc and John Murga was interested in creating a programmers Puppy or did I dream all these things?
tsk. tsk.
Waz 'appenin' Dudelles*?
Bin sitting in the sun frying your brains out?
tsk. tsk.
*women Dudes and programmers with too much doodle and not enough noodle
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
|