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 4.1 Final Edition SDK ready for download
Forum rules
This is an open forum. Everything said here can be read by everyone.
This is an open forum. Everything said here can be read by everyone.
AmigaOS 4.1 Final Edition SDK ready for download
ExecSG Team Lead
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 2:40 am
- Location: Portsmouth, UK
- Contact:
Re: AmigaOS 4.1 Final Edition SDK ready for download
@ssolie
Thank you
Thank you
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
X1000 - AmigaOS 4.1.6 / 4.1 FE
Re: AmigaOS 4.1 Final Edition SDK ready for download
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:
Then the compilation fails for libstdc++3 multidir with clib2, because gcc is not able to create executable files. I traced down the problem:
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?
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'),
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
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: AmigaOS 4.1 Final Edition SDK ready for download
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).
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
tony
Re: AmigaOS 4.1 Final Edition SDK ready for download
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: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).
Code: Select all
#include <stdio.h>
int main() {
printf("Hello world!\n");
return 0;
}
Re: AmigaOS 4.1 Final Edition SDK ready for download
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.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.
AmigaOne X1000 with 2GB memory - OS4.1 FE