What is the latest baseline OS4 SDK?

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

Re: What is the latest baseline OS4 SDK?

Postby salass00 » Tue Oct 08, 2019 6:24 pm

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


Instead of installing over the SDK gcc it's recommended to extract the adtools gcc in a directory of it's own, and then add something like the following to S:User-Startup after the SDK commands:

;BEGIN adtools-os4-20171209-407
path GCC:bin REMOVE
assign GCC: Development:adtools-os4-20171209-407
path GCC:bin ADD
;END adtools-os4-20171209-407


This way you can easily switch back to using the SDK gcc should you need to for some reason.

Also it is recommended that you remove APPDIR: from the Path command in S:Startup-Sequence if you have it there as it can cause the old gcc to still be used even after making the changes to User-Startup.

Also you might want to delete any files from "adtools/bin" that are not also in "SDK:gcc/bin". IIRC the adtools gcc used to include a compile of coreutils that wasn't working so well (this may or may not have been fixed since then?).
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 516
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

Re: What is the latest baseline OS4 SDK?

Postby Reth » Tue Oct 08, 2019 6:34 pm

Thank you. Regarding the adtools - do I need more than the native-build/ part (e.g. the gcc drawer + binutils drawer +x)? Or is it described somewhere what exactly to download and to install in order to get a most up to date toolchain up and running (I am using C++ ATM)?
Reth
Beta Tester
Beta Tester
 
Posts: 39
Joined: Mon Jun 20, 2011 4:44 pm

Re: What is the latest baseline OS4 SDK?

Postby salass00 » Tue Oct 08, 2019 7:19 pm

Ready compiled binaries can be downloaded from Aminet:

http://aminet.net/package/dev/gcc/adtools-8-os4

If you want to compile adtools gcc yourself you need to clone the adtools git repository and follow the instructions in the readme.

git clone https://github.com/sba1/adtools
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 516
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

Re: What is the latest baseline OS4 SDK?

Postby Reth » Tue Oct 08, 2019 9:22 pm

Thanx again! Checked the adtools readme. It states that a SDK-Assign is also needed. Can the SDK assign of the standard SDK installation be used here or will this conflict with the adtools stack?
Reth
Beta Tester
Beta Tester
 
Posts: 39
Joined: Mon Jun 20, 2011 4:44 pm

Re: What is the latest baseline OS4 SDK?

Postby salass00 » Wed Oct 09, 2019 12:06 pm

Reth wrote:Thanx again! Checked the adtools readme. It states that a SDK-Assign is also needed. Can the SDK assign of the standard SDK installation be used here or will this conflict with the adtools stack?


Yes, an existing SDK installation is expected and required.

The commands I quoted are for moving the GCC: assign to the adtools directory (SDK:S/gcc-startup sets it to SDK:gcc) and ensuring that only the correct GCC:bin is in the command path.
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 516
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

Re: What is the latest baseline OS4 SDK?

Postby Reth » Wed Oct 09, 2019 8:35 pm

Thank you! Does gdb work with this new GCC/G++?
Reth
Beta Tester
Beta Tester
 
Posts: 39
Joined: Mon Jun 20, 2011 4:44 pm

Previous

Return to SDK Support

Who is online

Users browsing this forum: No registered users and 1 guest