What is the latest baseline OS4 SDK?

Have a question about our Software Developer Kit? Ask them here.

What is the latest baseline OS4 SDK?

Postby NinjaCyborg » Wed Nov 28, 2018 4:31 pm

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?
NinjaCyborg
 
Posts: 13
Joined: Thu Oct 11, 2018 12:28 am

Re: What is the latest baseline OS4 SDK?

Postby kas1e » Wed Nov 28, 2018 11:58 pm

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.
kas1e
Beta Tester
Beta Tester
 
Posts: 482
Joined: Sat Jun 18, 2011 8:56 am

Re: What is the latest baseline OS4 SDK?

Postby NinjaCyborg » Thu Nov 29, 2018 9:41 am

Thank you. Are there any newer versions of some of the prebuilt libs e.g. Cairo other than those found on os4depot?
NinjaCyborg
 
Posts: 13
Joined: Thu Oct 11, 2018 12:28 am

Re: What is the latest baseline OS4 SDK?

Postby kas1e » Thu Nov 29, 2018 11:54 am

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.
kas1e
Beta Tester
Beta Tester
 
Posts: 482
Joined: Sat Jun 18, 2011 8:56 am

Re: What is the latest baseline OS4 SDK?

Postby NinjaCyborg » Thu Nov 29, 2018 12:07 pm

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?
NinjaCyborg
 
Posts: 13
Joined: Thu Oct 11, 2018 12:28 am

Re: What is the latest baseline OS4 SDK?

Postby kas1e » Thu Nov 29, 2018 5:58 pm

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.
kas1e
Beta Tester
Beta Tester
 
Posts: 482
Joined: Sat Jun 18, 2011 8:56 am

Re: What is the latest baseline OS4 SDK?

Postby Hypex » Wed Apr 24, 2019 7:37 am

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:
User avatar
Hypex
Beta Tester
Beta Tester
 
Posts: 402
Joined: Mon Dec 20, 2010 3:23 pm
Location: Vic. Australia.

Re: What is the latest baseline OS4 SDK?

Postby jaokim » Wed Apr 24, 2019 9:30 pm

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
User avatar
jaokim
Beta Tester
Beta Tester
 
Posts: 90
Joined: Sat Jun 18, 2011 1:41 am

Re: What is the latest baseline OS4 SDK?

Postby kas1e » Fri Apr 26, 2019 5:34 pm

@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
kas1e
Beta Tester
Beta Tester
 
Posts: 482
Joined: Sat Jun 18, 2011 8:56 am

Re: What is the latest baseline OS4 SDK?

Postby Reth » Tue Oct 08, 2019 1:17 am

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
Reth
Beta Tester
Beta Tester
 
Posts: 39
Joined: Mon Jun 20, 2011 4:44 pm

Next

Return to SDK Support

Who is online

Users browsing this forum: No registered users and 2 guests