Page 1 of 2

What is the latest baseline OS4 SDK?

Posted: Wed Nov 28, 2018 3:31 pm
by NinjaCyborg
I have the version downloadable from here at Hyperion. But since many of the libs and also GCC have much newer versions, what is the common baseline you all use these days?

Re: What is the latest baseline OS4 SDK?

Posted: Wed Nov 28, 2018 10:58 pm
by kas1e
Latest official SDK are 53.30.

But if you want new gcc, binutils and co, you need go to https://github.com/sba1/adtools/ , and build compiler for yourself. At moment latest one which are tested and prove to work fine for os4, are 8.2.0 with c++XX stuff enabled, with native threading implementation (i even enable for myself obj-c, objc++, fortran : and it all works). It possible to build and as crosscompiler (on unixes, cygwin, msys2, etc) or as native to use on os4 itself. Just follow steps in the readme. There is little issue through: when you will install new version from adtools, it will download official SDK 53.24, and not 53.30 by some reassons. It is a bug, which reported few times, but still not fixed. But you can easy live with 53.24 as well. And later can update over it manually.

Of course that all probabaly will come into next SDK update, but noone know when that happend. So for time begin just build all the new stuff yourself. Its easy enough if follow readme on the adtools page.

Re: What is the latest baseline OS4 SDK?

Posted: Thu Nov 29, 2018 8:41 am
by NinjaCyborg
Thank you. Are there any newer versions of some of the prebuilt libs e.g. Cairo other than those found on os4depot?

Re: What is the latest baseline OS4 SDK?

Posted: Thu Nov 29, 2018 10:54 am
by kas1e
os4depot have latest one in most cases. There is some exceptions of course, like for example openal library, on os4depot are 8 years old one, while Salas00 made more or less fresh port, which is placed on his github acc. Some other libs may be also not updated on os4depot, but somewhere you may find more newer os4 ports of them. But most of time os4depot have all latest stuff.

Through, most of those 3d party libs rarely have specific os4 changes, most of time its pure ./configure; make , which is easy to do for every new versions. For example that Cairo lib , is very simply one, which have no os4 specific changes (there was some VERY old version done by Hyperion where they trying to integrate some amigaos4 specific acceleration, but that wasn't done in full). For example for Odyssey os4 port i just grab fresh one from net, and ./configure;make it . The same with almost all other libs can be done : pixman, freetypes, png, jpeg, z, all sdl and sdl2 libs.

Some libs through needs some real amigaos4 changes. For example such as physfs, allegro,etc.

Simple rule when you have undefines on linking stage or missing includes : go search on os4depot.net, and if there is none, or too old one, just grab one from networks and build yourself , which most of time will be just ./configure ; make.

Re: What is the latest baseline OS4 SDK?

Posted: Thu Nov 29, 2018 11:07 am
by NinjaCyborg
Thanks again. I can understand why libpng or expat might be readily make-able without modifications, but surely Cairo is dependent on underlying native APIs for drawing and stuff? Or is it itself built on top of SDL or something?

Re: What is the latest baseline OS4 SDK?

Posted: Thu Nov 29, 2018 4:58 pm
by kas1e
Cairo can render to the different outputs, and for myself i just use image outputs , which of course software rendering, but fast enough for just rendering in browser. If i remember things right, by default image buffers output is set in cairo, so you just ./configure; make it as well. Only on linking stage -lpng -ljpeg added or something of that sort.

In old days, Hyperion bet on Cairo as something cool and good, and even start to do some hardware accelerated output for it, which if i remember right, wasn't finished and wasn't released. There was a lot of fanboy's bananas like "Cairo Tehcnology!! Future !!" , but in reality its just one of many rendering libraries with its own API, provide different ways of output, and today, hardware accelerated output for cairo will be good only if it for port something very good, which heavy-heavy based on cairo (webkit code for example, didn't use cairo that much that it needs any hardware acceleration, so just output are starndad image buffers). In others, it better today to use compositing features natively.

Re: What is the latest baseline OS4 SDK?

Posted: Wed Apr 24, 2019 6:37 am
by Hypex
kas1e wrote:Latest official SDK are 53.30.

But if you want new gcc, binutils and co, you need go to https://github.com/sba1/adtools/ , and build compiler for yourself.
This is good but it does miss out on gdb. Checking out the sources it looks like it needs mass modification to compile for OS4. Which is a shame as that makes it hard to compile before it goes out of date again. The one we had when it was working also lacked the built in console GUI making it even more behind. :shock:

Re: What is the latest baseline OS4 SDK?

Posted: Wed Apr 24, 2019 8:30 pm
by jaokim
Regarding Cairo, salass00 has a port on GitHub, which I’ve compiled including fontconfig support. You can find it here: https://sourceforge.net/projects/odysse ... ies/files/

The reason it’s not on os4depot yet, is because I haven’t tested it.

I also created a docker image with gcc 8.2.0, and the OS4 SDK which includes a python script, dep-get.py which can download and install dependencies. Basically you just do:
dep-get.py cairo
in the docker environment to download and install Cairo-libs.

See code here: https://sourceforge.net/p/docker-ade/co ... ree/trunk/
And docker image here: https://hub.docker.com/r/jaokim/amigade/tags

Re: What is the latest baseline OS4 SDK?

Posted: Fri Apr 26, 2019 4:34 pm
by kas1e
@Jaokim
Will be intersting to know, if Salas00's implementation of Cairo already use compositing and stuff, and , some default test-cases which run the same thing over software cairo rendering, and over new salas00's library. If it will be much faster, then than can be something interesting indeed

Re: What is the latest baseline OS4 SDK?

Posted: Tue Oct 08, 2019 12:17 am
by Reth
Just out of curiosity: Is there anything new or in update? Currently I am using the latest SDK and just read the release of latest MOS SDK with all the new GCC tools inside.
So I took a look here and stumbled across that thread - hence I wanted to ask...

Regarding the native AOS4 build of GCC and G++ - can it be just downloaded and installed over existing SDK installation?

Thank you in advance!

Bye