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.
Post Reply
User avatar
ssolie
Beta Tester
Beta Tester
Posts: 1010
Joined: Mon Dec 20, 2010 8:51 pm
Location: Canada
Contact:

AmigaOS 4.1 Final Edition SDK ready for download

Post by ssolie »

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.
ExecSG Team Lead
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 591
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: AmigaOS 4.1 Final Edition SDK ready for download

Post by broadblues »

Yay!

:-)
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Re: AmigaOS 4.1 Final Edition SDK ready for download

Post by zzd10h »

@ssolie

Thank you :D
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
User avatar
cahir
Posts: 2
Joined: Tue Sep 01, 2015 1:54 pm

Re: AmigaOS 4.1 Final Edition SDK ready for download

Post by cahir »

I'm trying to build cross toolchain using script I wrote: https://github.com/cahirwpz/amigaos-cro ... lchain-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
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1445
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: AmigaOS 4.1 Final Edition SDK ready for download

Post by tonyw »

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
cahir
Posts: 2
Joined: Tue Sep 01, 2015 1:54 pm

Re: AmigaOS 4.1 Final Edition SDK ready for download

Post by cahir »

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;
}
xenic
Posts: 1165
Joined: Sun Jun 19, 2011 12:06 am

Re: AmigaOS 4.1 Final Edition SDK ready for download

Post by xenic »

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
Post Reply