AmigaOS 4.1 Final Edition SDK ready for download

Post your Amiga related public announcements here. Maybe an Amiga show is coming up or similar.
Forum rules
This is an open forum. Everything said here can be read by everyone.

AmigaOS 4.1 Final Edition SDK ready for download

Postby ssolie » Mon Aug 31, 2015 6:10 pm

Grab the AmigaOS 4.1 Final Edition SDK from http://www.hyperion-entertainment.biz/i ... &parent=30

The press release is at http://www.hyperion-entertainment.biz/

Note: The AmigaOS Documentation Wiki is being updated as quickly as we can to cover all the new features. If you want to help out, please consider becoming an editor and joining in.
AmigaOS Development Team Lead
Be authentic. Get AmigaOS.
User avatar
ssolie
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1000
Joined: Mon Dec 20, 2010 9:51 pm
Location: Canada

Re: AmigaOS 4.1 Final Edition SDK ready for download

Postby broadblues » Mon Aug 31, 2015 6:27 pm

Yay!

:-)
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 461
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: AmigaOS 4.1 Final Edition SDK ready for download

Postby zzd10h » Mon Aug 31, 2015 7:40 pm

@ssolie

Thank you :D
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
zzd10h
 
Posts: 544
Joined: Sun Sep 16, 2012 6:40 am
Location: France

Re: AmigaOS 4.1 Final Edition SDK ready for download

Postby cahir » Thu Jan 21, 2016 10:53 am

I'm trying to build cross toolchain using script I wrote: https://github.com/cahirwpz/amigaos-cross-toolchain/blob/master/toolchain-ppc Everything works ok as long as I don't switch to SDK 53.30:
Code: Select all
@@ -19,7 +19,7 @@ URLS = \
    'http://isl.gforge.inria.fr/isl-0.12.2.tar.bz2',
    'http://www.bastoul.net/cloog/pages/download/cloog-0.18.4.tar.gz',
    ('http://hyperion-entertainment.biz/index.php/downloads' +
-    '?view=download&format=raw&file=69', 'SDK_53.24.lha'),
+    '?view=download&format=raw&file=82', 'SDK_53.30.lha'),
    ('svn://svn.code.sf.net/p/adtools/code/trunk/binutils', 'binutils-2.18'),
    ('svn://svn.code.sf.net/p/adtools/code/trunk/gcc', 'gcc-4.2.4'),
    ('svn://svn.code.sf.net/p/adtools/code/branches/binutils/2.23.2',
@@ -210,7 +211,7 @@ if __name__ == "__main__":
          cloog='cloog-0.18.4',
          texinfo='texinfo-4.12',
          binutils='binutils-{binutils_ver}',
-         sdk='SDK_53.24',
+         sdk='SDK_53.30',
          gcc='gcc-{gcc_ver}',
          patches=path.join('{top}', 'patches'),
          stamps=path.join('{top}', '.build-ppc', 'stamps'),

Then the compilation fails for libstdc++3 multidir with clib2, because gcc is not able to create executable files. I traced down the problem:
Code: Select all
$PREFIX/.build-ppc/build/gcc-4.2.4/gcc/xgcc -B$PREFIX/.build-ppc/build/gcc-4.2.4/gcc/ -B$PREFIX/ppc-amigaos/bin/ -mcrt=clib2 hello.c
$PREFIX/ppc-amigaos/ppc-amigaos/SDK/clib2/lib/libc.a(stdlib_program_name.o): In function `stdlib_program_name_init_ctor':
stdlib_program_name.c:(.text+0xe4): undefined reference to `GetProgramName'
collect2: ld returned 1 exit status

Seems like there's an unresolved reference to dos.library. I looked up for the symbol in all libraries and there's no such. Am I missing something or that's a bug in SDK?
User avatar
cahir
 
Posts: 2
Joined: Tue Sep 01, 2015 2:54 pm

Re: AmigaOS 4.1 Final Edition SDK ready for download

Postby tonyw » Thu Jan 21, 2016 1:45 pm

GetProgramName() is yet another DOS library call that has been renamed. The new name is GetCliProgramName().

You can either update your source code to match the new library API or #include dos/obsolete.h to define the old call.

If you get more unresolved library names, try looking in dos/obsolete.h first. If it's in there, either #include dos/obsolete.h (hack) or update your source code (proper fix).
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1239
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: AmigaOS 4.1 Final Edition SDK ready for download

Postby cahir » Fri Jan 22, 2016 12:47 am

tonyw wrote:If you get more unresolved library names, try looking in dos/obsolete.h first. If it's in there, either #include dos/obsolete.h (hack) or update your source code (proper fix).

You misunderstood my post. The reference is not in my code, but in startup routine from clib2 provided by SDK 53.30, namely function stdlib_program_name_init_ctor in object stdlib_program_name.o from ppc-amigaos/SDK/clib2/lib/libc.a has undefined reference to GetProgramName. My program looks like this:
Code: Select all
#include <stdio.h>

int main() {
  printf("Hello world!\n");
  return 0;
}
User avatar
cahir
 
Posts: 2
Joined: Tue Sep 01, 2015 2:54 pm

Re: AmigaOS 4.1 Final Edition SDK ready for download

Postby xenic » Sat Jan 23, 2016 7:19 pm

cahir wrote:You misunderstood my post. The reference is not in my code, but in startup routine from clib2 provided by SDK 53.30, namely function stdlib_program_name_init_ctor in object stdlib_program_name.o from ppc-amigaos/SDK/clib2/lib/libc.a has undefined reference to GetProgramName.


I reported the problem back in Oct 2015. Refer to my topic "CLIB2 failures" in the "SDK Support" forum here at the Hyperion Message Boards. I think Solie said he was going to prepare an update with that problem fixed but I'm not sure if that happened. I did report the problem at the clib2 reposirory at Github and it was fixed. You may need to D/L the clib2 sources at https://github.com/adtools/clib2 and compile your own working version of clib2.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1020
Joined: Sun Jun 19, 2011 1:06 am


Return to Public Announcements

Who is online

Users browsing this forum: No registered users and 0 guests